Skip to content

v7.0.1

v7.0.1 #37

Workflow file for this run

name: Publish library
on:
release:
types: [created]
jobs:
ci_tests:
uses: ./.github/workflows/ci_tests.yml
ci_publish:
needs: ci_tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
cache: npm
- name: Install latest npm
run: npm install -g npm@latest
- name: Install dependencies
run: npm clean-install --engine-strict
- name: Build
run: npm run build
- name: Publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish ./dist --access public