Skip to content

Bump follow-redirects from 1.15.3 to 1.15.4 in /example/webpack-asset #68

Bump follow-redirects from 1.15.3 to 1.15.4 in /example/webpack-asset

Bump follow-redirects from 1.15.3 to 1.15.4 in /example/webpack-asset #68

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
# >=0.13.2 because of arethetypeswrong/arethetypeswrong.github.io#117.
- name: Check ESM module resolution
run: npx '@arethetypeswrong/cli@>=0.13.2' --ignore-rules cjs-resolves-to-esm --exclude-entrypoints pkg/index_bg.wasm --pack