* upgrade syntax to v5 * blitz-next changes * fix types and export new functions * fix blitz suspense logic * fix workflow * changeset * fix pnpm version * fix pnpm lock file * latest pnpm version * fix * fix pnpm lock file * fixes * commit * commit * pnpm lock update * revert change * fixes * temp: remove patch * lockfile * chore: fix build and lint * fix: auth-with-rpc tests * qm test * remaining tests * fix rpc unit tests * revrt * another revert pnpm version change * revert back to pnpm 8.6.6 * pnpm lock fix * try fix * fix
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
release:
|
|
name: Release
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repo
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node.js 20.x
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20.x
|
|
|
|
- name: Creating .npmrc
|
|
run: |
|
|
cat << EOF > "$HOME/.npmrc"
|
|
//registry.npmjs.org/:_authToken=$NPM_TOKEN
|
|
EOF
|
|
env:
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
|
|
- name: Pre-publish
|
|
uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2
|
|
with:
|
|
version: 8.6.6
|
|
- run: pnpm install
|
|
env:
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
- run: pnpm build
|
|
|
|
- name: Create Release Pull Request
|
|
uses: blitz-js/changesets-action@main
|
|
with:
|
|
publish: pnpm release
|
|
createGithubReleases: true
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|