Skip to content

Commit 309f7bd

Browse files
committed
Change to yarn
1 parent 655c341 commit 309f7bd

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/npm-publish-github-packages.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-node@v3
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
1616
with:
1717
node-version: 16
18-
- run: npm ci
19-
- run: npm build
18+
- run: yarn install --frozen-lockfile
19+
- run: yarn build
2020

2121
publish-gpr:
2222
needs: build
@@ -25,12 +25,13 @@ jobs:
2525
contents: read
2626
packages: write
2727
steps:
28-
- uses: actions/checkout@v3
29-
- uses: actions/setup-node@v3
28+
- uses: actions/checkout@v4
29+
- uses: actions/setup-node@v4
3030
with:
3131
node-version: 16
3232
registry-url: https://npm.pkg.github.com/
33-
- run: npm ci
34-
- run: npm publish
33+
- run: yarn install --frozen-lockfile
34+
- run: yarn build
35+
- run: yarn publish
3536
env:
3637
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)