Skip to content

v1.8.1

v1.8.1 #27

Workflow file for this run

name: Publish to NPM
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
- run: yarn install
- run: yarn test
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
access: public
- name: Upload npm debug log
if: failure() # This step will run only if the previous steps failed
uses: actions/upload-artifact@v2
with:
name: npm-debug-logs
path: /home/runner/.npm/_logs/*.log