Bump jest from 29.6.1 to 29.7.0 in /nodejs/hello #757
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: Test | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Test | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Cache Cargo | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
**/target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- name: Setup Rust Toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: 1.64 | |
- name: Install `just` | |
uses: extractions/setup-just@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Cache Node | |
uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Cache Poetry | |
uses: actions/cache@v3 | |
with: | |
path: "**/.venv" | |
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }} | |
restore-keys: ${{ runner.os }}-poetry- | |
- name: Install Poetry | |
uses: Gr1N/setup-poetry@v8 | |
- name: Setup `wasm-pack` | |
uses: jetli/wasm-pack-action@v0.4.0 | |
- name: Test `cpp/hello` | |
run: just cpp/hello/test | |
- name: Test `nodejs/hello` | |
run: just nodejs/hello/test | |
- name: Test `python/hello` | |
run: just python/hello/test | |
- name: Test `rust/hello` | |
run: just rust/hello/test | |
- name: Test `wasm/hello-emscripten` | |
run: just wasm/hello-emscripten/test | |
- name: Test `wasm/hello-wasm-pack` | |
run: just wasm/hello-wasm-pack/test |