Skip to content

Disable ATTW to wait for fixing #64

Disable ATTW to wait for fixing

Disable ATTW to wait for fixing #64

Workflow file for this run

name: CI
on:
push:
branches: [goshujin-sama]
pull_request:
branches: [goshujin-sama]
jobs:
rust_test:
name: Rust test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
# - run: cargo test --all-features
- run: cargo fmt --check
- run: cargo clippy --all-features -- --no-deps -Dwarnings
js_test:
name: JS test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: latest
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Download brotli-wasm for tests
uses: actions/checkout@v3
with:
repository: httptoolkit/brotli-wasm
ref: v2.0.1
path: test/brotli-wasm
- name: Modify brotli-wasm for tests
run: |
test/test.sh preinstall
test/test.sh pretest
- name: Install brotli-wasm dependencies for tests
run: npm install
working-directory: test/brotli-wasm
- name: Build brotli-wasm for tests
run: npm run build
working-directory: test/brotli-wasm
- run: npm run build
- run: npm run test
# Disabled because of arethetypeswrong/arethetypeswrong.github.io#117.
# It is still run locally.
# - name: Check ESM module resolution
# run: npx @arethetypeswrong/cli --ignore-rules cjs-resolves-to-esm --exclude-entrypoints pkg/index_bg.wasm --pack