-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
25 additions
and
185 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,11 +11,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js and Cache | ||
uses: ./.github/actions/nodejs | ||
|
||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- run: npx nx build demo | ||
|
||
concurrency: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js and Cache | ||
uses: ./.github/actions/nodejs | ||
|
||
- name: Build demo by prerender | ||
run: npx nx build-gh-pages demo | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- run: npx nx build-gh-pages demo | ||
|
||
concurrency: | ||
group: build-prerender-${{ github.workflow }}-${{ github.ref }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,11 +11,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js and Cache | ||
uses: ./.github/actions/nodejs | ||
|
||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- run: npm run run-many:build:libs | ||
|
||
concurrency: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,19 +12,13 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js and Cache | ||
uses: ./.github/actions/nodejs | ||
|
||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- run: npx nx build demo | ||
|
||
- name: Debug output | ||
run: tree dist/demo -P '*.html' | ||
|
||
- name: Deploy preview | ||
|
||
uses: FirebaseExtended/action-hosting-deploy@v0 | ||
- uses: FirebaseExtended/action-hosting-deploy@v0 | ||
continue-on-error: true | ||
if: ${{ env.IS_FORK == 'false' && env.IS_DEPENDABOT == 'false' }} | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,14 +10,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js and Cache | ||
uses: ./.github/actions/nodejs | ||
|
||
- name: Build demo by prerender | ||
run: npx nx build-gh-pages demo | ||
|
||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- run: npx nx build-gh-pages demo | ||
- name: Deploy | ||
uses: JamesIves/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,15 +10,10 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js and Cache | ||
uses: ./.github/actions/nodejs | ||
|
||
- run: | | ||
npm run prettier -- --check | ||
npm run typecheck | ||
npm run lint | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- run: npm run prettier -- --check | ||
- run: npm run typecheck | ||
- run: npm run lint | ||
|
||
concurrency: | ||
group: lint-${{ github.workflow }}-${{ github.ref }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,17 +31,13 @@ jobs: | |
ref: ${{ github.head_ref }} | ||
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
|
||
- name: Setup Node.js and Cache | ||
uses: ./.github/actions/nodejs | ||
|
||
- name: Setup GIT username and NPM token | ||
run: | | ||
git config --global user.name "taiga-family-bot" | ||
git config --global user.email "[email protected]" | ||
git config remote.origin.url https://x-access-token:${{ secrets.TAIGA_FAMILY_BOT_PAT }}@github.com/$GITHUB_REPOSITORY | ||
npm config set '//registry.npmjs.org/:_authToken' "${{ secrets.NPM_TOKEN }}" | ||
NPM_WHOAMI_OUTPUT=$(npm whoami) | ||
echo "::debug::npm whoami: ${NPM_WHOAMI_OUTPUT}" | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/config/[email protected] | ||
with: | ||
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
- uses: taiga-family/ci/actions/setup/config/[email protected] | ||
with: | ||
token: ${{ secrets.NPM_TOKEN }} | ||
|
||
- name: Lerna update version of packages | ||
if: always() | ||
|
@@ -52,12 +48,10 @@ jobs: | |
npx lerna version --no-private | ||
fi | ||
- name: Build libraries | ||
run: npx nx run-many --target=build --parallel=1 --output-style=stream --exclude=demo | ||
- run: npx nx run-many --target=build --parallel=1 --output-style=stream --exclude=demo | ||
|
||
- name: Publish | ||
- run: npx nx run-many --target=publish --parallel=1 --output-style=stream | ||
if: always() | ||
run: npx nx run-many --target=publish --parallel=1 --output-style=stream | ||
|
||
concurrency: | ||
group: release-${{ github.workflow }}-${{ github.ref }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,16 +32,9 @@ jobs: | |
name: ${{ matrix.project }} | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js and Cache | ||
uses: ./.github/actions/nodejs | ||
|
||
- name: Run tests for ${{ matrix.project }} | ||
run: npx nx test ${{ matrix.project }} | ||
|
||
- name: Archive coverage artifacts | ||
uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- run: npx nx test ${{ matrix.project }} | ||
- uses: actions/[email protected] | ||
with: | ||
name: coverage-${{ github.workflow }}-${{ github.run_id }} | ||
path: coverage | ||
|