0
0
mirror of https://github.com/lipis/flag-icons.git synced 2024-11-24 19:36:55 +01:00

Update npm-publish.yml

This commit is contained in:
Lipis 2023-11-06 23:18:22 +02:00 committed by GitHub
parent daff47024c
commit 245f8d4b05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,8 +15,8 @@ jobs:
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: 18 node-version: 18
- run: npm ci - run: yarn
- run: npm test - run: yarn test
publish-npm: publish-npm:
needs: build needs: build
@ -27,7 +27,7 @@ jobs:
with: with:
node-version: 18 node-version: 18
registry-url: https://registry.npmjs.org/ registry-url: https://registry.npmjs.org/
- run: npm ci - run: yarn
- run: npm publish - run: npm publish
env: env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}