chore(deps): update dependency @cloudflare/workers-types to ^4.202412… #764
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: Release | |
on: | |
push: | |
branches: | |
- master | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create Github Token as Changesets-Bot | |
id: create_token | |
uses: tibdex/github-app-token@v2 | |
with: | |
app_id: ${{ secrets.CHANGESETS_RELEASE_APP_ID }} | |
private_key: ${{ secrets.CHANGESETS_RELEASE_PRIVATE_KEY }} | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ steps.create_token.outputs.token }} | |
fetch-depth: 0 | |
fetch-tags: true | |
- name: Setup git user as Changesets Bot | |
# The bot id is taken from https://api.github.com/users/changesets-release-app[bot] | |
run: | | |
git config --global user.name "changesets-release-app[bot]" | |
git config --global user.email "152388490+changesets-release-app[bot]@users.noreply.github.com" | |
- name: Setup pnpm and node | |
uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'pnpm' | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Build package | |
run: pnpm build | |
- name: Changesets Release | |
uses: changesets/action@v1 | |
with: | |
commit: 'chore(release): Release latest changesets' | |
title: 'chore(release): Release latest changesets' | |
setupGitUser: false | |
createGithubReleases: true | |
publish: pnpm changeset tag | |
env: | |
GITHUB_TOKEN: ${{ steps.create_token.outputs.token }} |