Skip to content

v0.9.1

v0.9.1 #2

Workflow file for this run

name: Publish Package to npmjs
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
name: Tests & Publish
steps:
- name: Cloning repo
uses: actions/checkout@v2
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v2
with:
node-version-file: .nvmrc
cache: npm
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Run tests
run: npm run test
- name: Publish package
run: npm login && npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}