chore(deps): update actions/checkout action to v4.2.2 #1687
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: nightly release | |
on: | |
push: | |
branches: | |
- '**' | |
tags: | |
- '!**' | |
pull_request: | |
types: [opened, synchronize, labeled] | |
branches: [main] | |
paths-ignore: | |
- 'docs/**' | |
- 'test/**' | |
- 'specs/**' | |
- 'playground/**' | |
jobs: | |
release: | |
if: ${{ contains(github.event.pull_request.labels.*.name, 'cr-tracked') }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Enable corepack | |
run: corepack enable | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.18 | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Build | |
run: pnpm build | |
- name: Release with pkg-pr-new | |
run: pnpx pkg-pr-new publish --compact --pnpm |