Skip to content

feat: update README

feat: update README #5

name: Npm Publish swc-plugin-canyon
on:
push:
branches:
- main
- ci
env:
RUST_LOG: debug
CARGO_INCREMENTAL: 0
MACOSX_DEPLOYMENT_TARGET: "10.13"
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
- name: Install wasm target
shell: bash
run: |
rustup target add wasm32-wasi
- name: Setup node
uses: pnpm/action-setup@v4
with:
version: 9
- run: |
pnpm --filter=swc-plugin-canyon publish -f --no-git-checks --access=public
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}