Skip to content

v4.18.1

v4.18.1 #63

Workflow file for this run

#
# Publish releases to NPM
#
name: Publish
on:
release:
types: [ published ]
jobs:
publish:
name: Publish release to NPM
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
- name: Install Node.js dependencies
run: npm ci
- name: Build
run: npm run build-for-dist
- name: Publish
run: |
cd ./dist
npm set "//registry.npmjs.org/:_authToken" ${{ secrets.NPM_PUBLISH_TOKEN }}
npm publish