Skip to content

Change files

Change files #86

Workflow file for this run

name: release
on:
push:
branches: [master]
jobs:
build:
environment: release
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@v4.1.1
- run: |
git config user.name github-actions
git config user.email github-actions@github.com
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.0.2
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- run: pnpm install
- run: pnpm build
- name: Release
run: pnpm release -n "$NPM_TOKEN"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}