Skip to content

Commit b7cd811

Browse files
authored
Merge pull request #669 from Turbo87/ci-madness
Improve CI workflow config
2 parents 3a144c2 + bb67c15 commit b7cd811

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ env:
1414
FORCE_COLOR: 1
1515
# renovate: datasource=npm depName=pnpm
1616
PNPM_VERSION: 9.15.3
17+
# renovate: datasource=npm depName=auto-dist-tag
18+
AUTO_DIST_TAG_VERSION: 1.0.0
1719

1820
jobs:
1921
lint:
@@ -31,7 +33,7 @@ jobs:
3133
version: ${{ env.PNPM_VERSION }}
3234
run_install: true
3335

34-
- run: yarn lint
36+
- run: pnpm lint
3537

3638
tests:
3739
strategy:
@@ -52,7 +54,7 @@ jobs:
5254
version: ${{ env.PNPM_VERSION }}
5355
run_install: true
5456

55-
- run: yarn test --coverage
57+
- run: pnpm test -- --coverage
5658

5759
release:
5860
name: Release
@@ -75,7 +77,7 @@ jobs:
7577
version: ${{ env.PNPM_VERSION }}
7678
run_install: true
7779

78-
- run: npx auto-dist-tag@1 --write
80+
- run: pnpx auto-dist-tag@${AUTO_DIST_TAG_VERSION} --write
7981
- run: npm publish
8082
env:
8183
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)