-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to our re-usable ts ci workflow (#47)
* The easiest one! * Switch to stable tag
- Loading branch information
Showing
1 changed file
with
4 additions
and
32 deletions.
There are no files selected for viewing
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,39 +1,11 @@ | ||
# 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' | ||
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 run test | ||
- name: Check test coverage | ||
if: github.base_ref != '' | ||
uses: anuraag016/[email protected] | ||
with: | ||
fullCoverageDiff: false | ||
delta: 0.2 | ||
afterSwitchCommand: yarn | ||
accessToken: ${{ secrets.WORKFLOW_PAT }} | ||
typescript-ci: | ||
uses: IronCoreLabs/workflows/.github/workflows/typescript-ci.yaml@typescript-ci-v0 | ||
secrets: inherit |