Skip to content

feat: github action on v2 #110

feat: github action on v2

feat: github action on v2 #110

Workflow file for this run

on:
repository_dispatch:
types: [spec_release]
on: push

Check failure on line 4 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yaml

Invalid workflow file

You have an error in your yaml syntax on line 4
name: Build & release
jobs:
build-and-release:
runs-on: ubuntu-latest
name: Release
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- run: |
pnpm publish --provenance
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}