Update ci.yaml

This commit is contained in:
Joseph Garrone 2024-07-09 04:02:49 +02:00 committed by GitHub
parent 419fb359b9
commit cdab4d41f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,10 +16,10 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: bahmutov/npm-install@v1
- name: If this step fails run 'yarn lint' and 'yarn format' then commit again.
- name: If this step fails run 'npm run lint' and 'npm run format' then commit again.
run: |
yarn lint:check
yarn format:check
npm run lint:check
npm run format:check
test:
runs-on: ${{ matrix.os }}
needs: test_lint
@ -34,8 +34,8 @@ jobs:
with:
node-version: ${{ matrix.node }}
- uses: bahmutov/npm-install@v1
- run: yarn build
- run: yarn test
- run: npm run build
- run: npm run test
check_if_version_upgraded:
name: Check if version upgrade
@ -98,8 +98,8 @@ jobs:
with:
registry-url: https://registry.npmjs.org/
- uses: bahmutov/npm-install@v1
- run: yarn build
- run: npx -y -p denoify@1.6.12 enable_short_npm_import_path
- run: npm run build
- run: npx -y -p denoify@1.6.13 enable_short_npm_import_path
env:
DRY_RUN: "0"
- uses: garronej/ts-ci@v2.1.5