Skip to content

v2.5.0

v2.5.0 #17

Workflow file for this run

name: Publish to npm
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm run build:tsc
- run: npm run build:package
- run: npm ci
working-directory: ./tests
- run: npm test
working-directory: ./tests
- run: node scripts/npm-publish.mjs
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NO_DRY_RUN: "1"