Skip to content

Update CI scripts

Update CI scripts #92

Workflow file for this run

name: Publish packages
on:
push:
branches:
- release
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Publish packages
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
packages: write
pull-requests: write
issues: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Enable corepack
# https://github.com/nodejs/corepack/issues/627
run: npm i -g --force corepack && corepack enable
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: >=20.18.3

Check failure on line 33 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 33
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Create Release Pull Request
uses: changesets/action@v1
with:
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true