-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to reusable ts ci workflow (#101)
* Switch to reusable ts ci workflow * Skip coverage * Update to stable tag version
- Loading branch information
Showing
4 changed files
with
12 additions
and
44 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,16 @@ | ||
# DO NOT EDIT THIS FILE. | ||
# Instead, edit the jsonpatch file (actually YAML) in .github/typescript-ci-patch.yaml | ||
# For docs, see github-actions in the IronCoreLabs/depot repo. | ||
|
||
name: TypeScript CI | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
name: Typescript CI | ||
'on': | ||
push: | ||
branches: | ||
- main | ||
pull_request: null | ||
workflow_dispatch: null | ||
jobs: | ||
test: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
node_version: | ||
- '14' | ||
- '16' | ||
- '18' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node_version }} | ||
cache: yarn | ||
- name: Install modules | ||
run: yarn | ||
- name: Run tests | ||
run: yarn test --coverage | ||
typescript-ci: | ||
uses: IronCoreLabs/workflows/.github/workflows/typescript-ci.yaml@typescript-ci-v0 | ||
with: | ||
test_matrix_node_version: '["14", "16", "18"]' | ||
# this repo runs coverage in its default test command, which will fail if | ||
# under the thresholds defined in jest.config.js, so coverage delta doesn't matter as much | ||
run_coverage: false | ||
secrets: inherit |
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