Merge pull request #135 from qnighy/renovate/major-swc-monorepo #95
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 | |
environment: publish | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: set up Rust | |
run: | | |
rustup set profile minimal | |
rustup install stable | |
rustup component add rustfmt clippy | |
rustup target add wasm32-unknown-unknown | |
- name: Install Dependencies | |
run: yarn | |
- name: Create Release Pull Request or prepare publish | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
publish: yarn changeset publish | |
env: | |
NPM_TOKEN: ${{ secrets.PUBLISH_NPM_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |