forked from projectfluent/fluent.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Merge separate package workflows into common "test" & "legacy" wo…
…rkflows As the workspaces config requires npm@7, that needs to be installed separately for Node.js 12 & 14 in GitHub Actions.
- Loading branch information
Showing
16 changed files
with
25 additions
and
190 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
19 changes: 9 additions & 10 deletions
19
.github/workflows/fluent-dom.yml → .github/workflows/legacy.yml
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 |
---|---|---|
@@ -1,26 +1,25 @@ | ||
name: "@fluent/dom" | ||
name: legacy | ||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
workflow_dispatch: | ||
jobs: | ||
dist: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: [12.x, 14.x, 16.x] | ||
node: [12.x, 14.x] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{matrix.node}} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{matrix.node}} | ||
- name: Install build tools | ||
run: npm ci | ||
- name: Install package dependencies | ||
working-directory: ./fluent-dom | ||
run: npm ci | ||
- name: make dist | ||
working-directory: ./fluent-dom | ||
run: make dist | ||
- run: npm install --global npm@7 | ||
- run: npm ci | ||
- run: npm run build --workspaces | ||
- run: npm test | ||
- run: npm run lint | ||
- run: npm run docs --workspaces |
18 changes: 8 additions & 10 deletions
18
.github/workflows/fluent-react.yml → .github/workflows/test.yml
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 |
---|---|---|
@@ -1,26 +1,24 @@ | ||
name: "@fluent/react" | ||
name: test | ||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
workflow_dispatch: | ||
jobs: | ||
dist: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: [12.x, 14.x, 16.x] | ||
node: [16.x] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{matrix.node}} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{matrix.node}} | ||
- name: Install build tools | ||
run: npm ci | ||
- name: Install package dependencies | ||
working-directory: ./fluent-react | ||
run: npm ci | ||
- name: make dist | ||
working-directory: ./fluent-react | ||
run: make dist | ||
- run: npm ci | ||
- run: npm run build --workspaces | ||
- run: npm test | ||
- run: npm run lint | ||
- run: npm run docs --workspaces |
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
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
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
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