Skip to content

chore: bump version #20

chore: bump version

chore: bump version #20

Workflow file for this run

name: Publish Package to npmjs
on:
push:
tags: '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run tests
run: |
npm run lint
npm run build
npm run docs
npm run test
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: npm ci
- name: Build application
run: npm run build
- name: Publish to npm
run: npm publish --access=public --tag beta #TODO: To be removed, for PoC purposes only
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_AUTHTOKEN}}