👷 Fix npm publish workflow

This commit is contained in:
Androz2091 2021-04-25 18:00:35 +02:00
parent 13cdb49856
commit c9adc80fee

View file

@ -14,8 +14,8 @@ jobs:
with: with:
node-version: 12 node-version: 12
registry-url: https://registry.npmjs.org/ registry-url: https://registry.npmjs.org/
- run: yarn install - run: npm install
- run: yarn run build - run: npm run build
- run: yarn publish - run: npm publish --access public
env: env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}} NODE_AUTH_TOKEN: ${{secrets.npm_token}}