Skip to content

chore: release v0.3.5 #72

chore: release v0.3.5

chore: release v0.3.5 #72

Workflow file for this run

name: Release
on:
push:
tags:
- v*
workflow_dispatch:
jobs:
build:
uses: ./.github/workflows/build-release.yml
with:
upload-artifacts: true
artifacts-retention-days: 3
publish:
permissions:
contents: write
pull-requests: read
needs: build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: actions/[email protected]
with:
node-version: 20
cache: 'yarn'
- name: node_modules cache
uses: actions/[email protected]
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}
- name: Download bundled files
uses: actions/download-artifact@v4
with:
path: bin
pattern: bin-*
merge-multiple: true
- run: yarn install
- run: yarn build
- name: Publish to NPM
uses: JS-DevTools/npm-publish@v3
with:
token: ${{secrets.NPM_TOKEN}}