Skip to content

0.6.0-dev.5

0.6.0-dev.5 #16

Workflow file for this run

name: πŸ“¦ publish to npm
on:
push:
tags:
- 'v*'
jobs:
publish:
runs-on: ubuntu-latest
if: "! github.event.pull_request.head.repo.fork"
steps:
- name: πŸ”” checkout
uses: actions/checkout@v3
- name: πŸ”§ setup node
uses: actions/setup-node@v3
with:
node-version: '20'
- name: πŸ“¦ install dependencies
run: npm ci
- name: πŸ”¨ build
run: npm run build -s
- name: πŸ§ͺ test
run: npm test
- name: πŸš€ npm publish
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
access: public