Skip to content

New version 0.0.2

New version 0.0.2 #4

Workflow file for this run

name: Publish Package to npmjs
on:
workflow_dispatch:
push:
tags: ['*']
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3 #Setup Node
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install dependencies
run: |
npm ci
- name: Lint
run: |
npm run lint
- name: Build
run: |
APIKEY=${{ secrets.APIKEY }} npm run build
- name: Test
run: |
APIKEY=${{ secrets.APIKEY }} npm test
- name: Publish
run: |
NPM_TOKEN=${{ secrets.NPM_TOKEN }} npm publish ./ --access public