Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Release NPM package #35

Release NPM package

Release NPM package #35

Workflow file for this run

name: Release NPM package
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
- run: npm ci
- run: npm run test
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}