chore(deps): update dependency @swc/core to v1.5.28 #423
Workflow file for this run
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: Binary Release | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
release: | |
# "released" events are emitted either when directly be released or be edited from pre-released. | |
types: [prereleased, released] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4.0.0 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
registry-url: 'https://registry.npmjs.org' | |
cache: pnpm | |
cache-dependency-path: pnpm-lock.yaml | |
- name: install and build | |
run: | | |
pnpm install | |
pnpm build | |
- if: startsWith(github.ref, 'refs/tags/') | |
name: Archive artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: result | |
path: | | |
./packages/standalone/build | |
upload: | |
if: startsWith(github.ref, 'refs/tags/') | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download build artifact | |
uses: actions/download-artifact@v4 | |
with: | |
name: result | |
path: ./packages/standalone/build | |
- name: List | |
run: find ./packages/standalone/build -type f -not -path ./packages/standalone/build.gitignore | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: ./packages/standalone/build/ts-playground-* |