Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
File renamed without changes.
2 changes: 1 addition & 1 deletion libs/angular-components/.eslintrc.json → .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"overrides": [
{
"files": ["*.ts"],
"files": ["*.ts", "**/*.ts"],
"parserOptions": {
"project": ["tsconfig.eslint.json"]
},
Expand Down
14 changes: 1 addition & 13 deletions .github/workflows/angular-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
branches:
- rc
- main
paths-ignore:
- "libs/react-components/**"

jobs:
lint:
Expand All @@ -22,8 +20,6 @@ jobs:
node-version: "lts/*"
- name: Lint
run: |
npm ci --cache .npm --prefer-offline
cd libs/angular-components
npm ci --cache .npm --prefer-offline
npm run lint

Expand All @@ -38,8 +34,6 @@ jobs:
node-version: "lts/*"
- name: Test
run: |
npm ci --cache .npm --prefer-offline
cd libs/angular-components
npm ci --cache .npm --prefer-offline
npm run test

Expand All @@ -59,16 +53,12 @@ jobs:
- name: Install dependencies
run: |
npm ci --cache .npm --prefer-offline
cd libs/angular-components
npm ci --cache .npm --prefer-offline
- name: Build Storybook
run: |
cd libs/angular-components
npm run build:sb
- name: Publish to Chromatic
run: |
cd libs/angular-components
CHROMATIC_PROJECT_TOKEN=${{ secrets.CHROMATIC_TOKEN_ANGULAR }} npm run chromatic
CHROMATIC_PROJECT_TOKEN=${{ secrets.CHROMATIC_TOKEN }} npm run chromatic

build-and-deploy:
needs: [lint, test]
Expand All @@ -88,8 +78,6 @@ jobs:
run: |
HUSKY=0
npm ci
cd libs/angular-components
npm ci
npm run build
git pull
npm run release
Expand Down
19 changes: 3 additions & 16 deletions .github/workflows/angular-test-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
branches:
- main
- rc
paths-ignore:
- "libs/react-components/**"
jobs:
lint:
runs-on: ubuntu-latest
Expand All @@ -21,8 +19,6 @@ jobs:
node-version: "lts/*"
- name: Lint
run: |
npm ci --cache .npm --prefer-offline
cd libs/angular-components
npm ci --cache .npm --prefer-offline
npm run lint

Expand All @@ -37,8 +33,6 @@ jobs:
node-version: "lts/*"
- name: Test
run: |
npm ci --cache .npm --prefer-offline
cd libs/angular-components
npm ci --cache .npm --prefer-offline
npm run test

Expand All @@ -56,19 +50,16 @@ jobs:
- name: Install dependencies
run: |
npm ci --cache .npm --prefer-offline
cd libs/angular-components
npm ci --cache .npm --prefer-offline

- name: Run coverage tests
run: |
cd libs/angular-components
npm run test:coverage

- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
working-directory: ./libs/angular-components
working-directory: ./

chromatic:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -98,16 +89,12 @@ jobs:
- name: Install dependencies
run: |
npm ci --cache .npm --prefer-offline
cd libs/angular-components
npm ci --cache .npm --prefer-offline

- name: Build Storybook
run: |
cd libs/angular-components
npm run build:sb

- name: Publish to Chromatic
run: |
cd libs/angular-components
echo "CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_TOKEN_ANGULAR }}"
CHROMATIC_PROJECT_TOKEN=${{ secrets.CHROMATIC_TOKEN_ANGULAR }} npm run chromatic
echo "CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_TOKEN }}"
CHROMATIC_PROJECT_TOKEN=${{ secrets.CHROMATIC_TOKEN }} npm run chromatic
36 changes: 0 additions & 36 deletions .github/workflows/core-release.yml

This file was deleted.

19 changes: 4 additions & 15 deletions .github/workflows/deploy-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,16 @@ name: Continuous Deployment

on:
workflow_dispatch:

push:
branches:
- "**"

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
actions: read

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
concurrency:
group: "pages"
cancel-in-progress: true
Expand All @@ -37,8 +34,7 @@ jobs:
build:
runs-on: ubuntu-latest
name: Build
needs:
- build_matrix
needs: build_matrix
strategy:
fail-fast: false
matrix:
Expand All @@ -52,19 +48,12 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Build
- name: Install and Build Storybook
run: |
npm ci
cd libs/angular-components
npm ci
npm run build:sb
cd ../react-components
npm ci
npm run build:sb
cd ../..
mkdir compiled-storybook
mv libs/angular-components/dist/storybook-static compiled-storybook/angular
mv libs/react-components/dist/storybook/react-components compiled-storybook/react
mkdir -p compiled-storybook
mv dist/storybook-static compiled-storybook/
- uses: actions/upload-artifact@v4
with:
name: ${{ strategy.job-index }}
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/index_suffix.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
let featureBranchRoot = document.getElementById("feature-branches");

branches.forEach(branch => {
let li = document.createElement("li");
let li = document.createElement("li");
li.className = "py-2";
li.innerHTML = `${branch} - <a href="./${branch}/">View</a>`;

li.className = "py-2";
li.innerHTML = `${branch} - <a href="./${branch}/react">React</a> | <a href="./${branch}/angular">Angular</a>`;

if (mainBranches.indexOf(branch) !== -1) {
mainBranchRoot.appendChild(li);
} else {
featureBranchRoot.appendChild(li);
}
if (mainBranches.indexOf(branch) !== -1) {
mainBranchRoot.appendChild(li);
} else {
featureBranchRoot.appendChild(li);
}
});
});
</script>
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/publish_mirror.sh

This file was deleted.

100 changes: 0 additions & 100 deletions .github/workflows/react-release.yml

This file was deleted.

Loading
Loading