Skip to content

Commit

Permalink
ci(examples): remove test-e2e job since swcx cannot run without a…
Browse files Browse the repository at this point in the history
… tty, possibly related to swc-project/swc#5017
  • Loading branch information
medfreeman committed Aug 30, 2022
1 parent 92c0843 commit 56b12aa
Showing 1 changed file with 3 additions and 41 deletions.
44 changes: 3 additions & 41 deletions .github/workflows/format_build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,46 +88,8 @@ jobs:
- name: Use rust cache action
uses: Swatinem/rust-cache@v2

- name: Setup node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'

- name: Install pnpm
run: corepack enable

- name: Run cargo test
run: pnpm test:lib

test-e2e:
name: End-to-end tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Checkout branch
uses: actions/checkout@v3

- name: Install rustup `stable` toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-wasi
override: true

- name: Use rust cache action
uses: Swatinem/rust-cache@v2

- name: Setup node.js
uses: actions/setup-node@v3
uses: actions-rs/cargo@v1
with:
node-version-file: '.nvmrc'

- name: Install pnpm & deps
run: |
corepack enable
pnpm install
- name: Run npm `test:e2e`
run: pnpm test:e2e
command: test
args: --release

0 comments on commit 56b12aa

Please sign in to comment.