Skip to content

build(deps): bump actions/create-github-app-token from 3.1.1 to 3.2.0… #47

build(deps): bump actions/create-github-app-token from 3.1.1 to 3.2.0…

build(deps): bump actions/create-github-app-token from 3.1.1 to 3.2.0… #47

Workflow file for this run

name: Changesets
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
id-token: write
jobs:
release:
name: Changesets
runs-on: ubuntu-latest
env:
TURBO_TELEMETRY_DISABLED: "1"
steps:
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
id: app-token
with:
app-id: ${{ vars.RELEASE_BOT_APP_ID }}
private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}
- name: Checkout Repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
# use app-token to checkout repo
# will ensure pushes triggers workflows
token: ${{ steps.app-token.outputs.token }}
- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 24
cache: npm
# Ensure npm 11.5.1 or later is installed
- name: Update npm
run: npm install -g npm@latest
- name: Install Dependencies
run: npm ci
- name: Copy README.md
run: cp README.md packages/vite-plugin-msal
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@63a615b9cd06ba9a3e6d13796c7fbcb080a60a0b # v1.8.0
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: npm run release
commit: "chore: version packages"
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}