Skip to content

fix: Check cache on dry run (#6466) #2621

fix: Check cache on dry run (#6466)

fix: Check cache on dry run (#6466) #2621

Workflow file for this run

name: Publish npm packages
on:
push:
branches: [main]
jobs:
publish-npm:
# crates/xtask/src/publish.rs:359
if: "startsWith(github.event.head_commit.message, 'chore: release npm packages')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/setup-rust
- name: Build packages
run: pnpx turbo@canary run build:ts
- name: Write NPM_TOKEN
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN_ELEVATED }}" > ~/.npmrc
- name: Publish
run: cargo xtask workspace --publish