Skip to content

v5.8.0

v5.8.0 #23

Workflow file for this run

name: Release
on:
release:
types: [created]
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies and build 🔧
run: |
npm set-script prepare ""
npm install
npm run build
- name: Publish package on NPM 📦
run: npm publish lib/
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}