Skip to content

Commit 677dfc5

Browse files
lukasz-mitkaalebcay
authored andcommitted
Modernize publish workflow
Updated versions. Used npm cache.
1 parent cac4812 commit 677dfc5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
14-
- uses: actions/setup-node@v1
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-node@v3
1515
with:
1616
node-version: 16
1717
registry-url: 'https://registry.npmjs.org'
18+
cache: 'npm'
1819
- run: npm ci
1920
- run: npm run build
2021
- run: npm publish --access public

0 commit comments

Comments
 (0)