Skip to content

Commit

Permalink
Switch to our re-usable ts ci workflow (#47)
Browse files Browse the repository at this point in the history
* The easiest one!

* Switch to stable tag
  • Loading branch information
skeet70 authored May 12, 2023
1 parent e4fd767 commit 3dec77d
Showing 1 changed file with 4 additions and 32 deletions.
36 changes: 4 additions & 32 deletions .github/workflows/typescript-ci.yaml
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

0 comments on commit 3dec77d

Please sign in to comment.