readd supportedArchitectures.cpu current/wasm32 to get the wasm #113
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: 🔎 Tests | |
on: | |
push: | |
branches: [ master, develop, next/* ] | |
pull_request: | |
branches: [ master, develop, next/* ] | |
jobs: | |
ubuntu_build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# Only LTS major version | |
# node-version: ['18', '19', '20', '21', '22', 'lts/*'] | |
node-version: ['lts/*'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Cache node modules | |
uses: actions/cache@v4 | |
id: cache | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-${{ matrix.node-version }}-${{ hashFiles('yarn.lock') }} | |
- name: Install yarn@berry | |
run: npm install -g yarn@berry && yarn set version 4.2.1 && yarn --version | |
- name: Package install | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: yarn install | |
- name: Test | |
run: yarn test | |