Switch to using Symbol.dispose
(#802)
#405
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 packages (changeset) | |
on: | |
push: | |
branches: | |
- master | |
- stable | |
env: | |
NPM_CONFIG_PROVENANCE: true | |
HUSKY: 0 | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
release: | |
name: Release | |
permissions: | |
id-token: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.IMJS_ADMIN_GH_TOKEN }} | |
- name: Install pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 9 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
registry-url: https://registry.npmjs.org/ | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Create release PR or publish to npm | |
uses: changesets/action@v1 | |
with: | |
publish: pnpm release | |
title: Release packages [publish docs] | |
commit: Release packages [publish docs] | |
env: | |
GITHUB_TOKEN: ${{ secrets.IMJS_ADMIN_GH_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_PUBLISH_ITWIN }} | |
GIT_AUTHOR_NAME: imodeljs-admin | |
GIT_AUTHOR_EMAIL: [email protected] | |
GIT_COMMITTER_NAME: imodeljs-admin | |
GIT_COMMITTER_EMAIL: [email protected] |