Skip to content

ci: add write permission #8

ci: add write permission

ci: add write permission #8

Workflow file for this run

name: 'release'
on:
push:
tags:
- 'v*.*.*'
branches:
- main
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Install dependencies and build
run: pnpm i && pnpm build
- name: Release
uses: softprops/action-gh-release@v1
with:
files: dist/*