Skip to content

1.2.2

1.2.2 #12

Workflow file for this run

name: CD
on:
push:
branches:
- "!*"
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
with:
show-progress: false
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
registry-url: https://registry.npmjs.org
- run: npm ci
- run: npm run ci
- run: npm run build
- run: npm test
env:
CI: true
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm run bundle
- name: Archive standalone executables
uses: actions/upload-artifact@v4
with:
name: binaries
path: dist/**