Bump @rollup/plugin-typescript from 11.1.6 to 12.1.2 #549
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: Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize] | |
paths-ignore: | |
- '**/*.md' | |
- "!.github/workflows/lint.yml" | |
branches: | |
- main | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
- uses: actions/setup-node@v3 | |
with: | |
cache: "pnpm" | |
node-version: latest | |
- run: pnpm i | |
- run: rustup toolchain install nightly-2023-12-23 | |
- run: rustup target add wasm32-wasi --toolchain nightly-2023-12-23 | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: "packages/react/swc" | |
- run: pnpm build | |
- run: pnpm test | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
- uses: actions/setup-node@v3 | |
with: | |
cache: "pnpm" | |
node-version: latest | |
- run: pnpm i | |
- run: rustup toolchain install nightly-2023-12-23 | |
- run: rustup target add wasm32-wasi --toolchain nightly-2023-12-23 | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: "packages/react/swc" | |
- run: pnpm build | |
env: | |
SKIP_RUST: "true" | |
- run: pnpm lint | |
- run: pnpm eslint | |
build: | |
name: Build packages and apps | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
- uses: actions/setup-node@v3 | |
with: | |
cache: "pnpm" | |
node-version: 22.4.0 | |
- run: pnpm i | |
- run: rustup toolchain install nightly-2023-12-23 | |
- run: rustup target add wasm32-wasi --toolchain nightly-2023-12-23 | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: "packages/react/swc" | |
- run: pnpm build:with-apps |