Update dependency esbuild to v0.23.1 #469
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: Canary Release | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
publish-canary: | |
name: Publish Canary | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.head.repo.full_name == github.repository | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@master | |
with: | |
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits | |
fetch-depth: 0 | |
- name: Setup Node.js 20.5.1 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 20.5.1 | |
- uses: oven-sh/setup-bun@v1 | |
- name: Setup NPM credentials | |
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Cache pnpm modules | |
uses: actions/cache@v3 | |
env: | |
cache-name: cache-pnpm-modules | |
with: | |
path: ~/.pnpm-store | |
key: ${{ runner.os }}-v2-${{ hashFiles('./pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-v2 | |
- name: install pnpm | |
run: npm i pnpm@latest -g | |
- name: Install Dependencies | |
run: pnpm i | |
- name: Release Canary | |
id: canary | |
uses: 'kamilkisiela/release-canary@master' | |
with: | |
npm-token: ${{ secrets.NPM_TOKEN }} | |
npm-script: 'pnpm release:canary' | |
changesets: true |