chore(deps-dev): bump tinybench from 2.9.0 to 3.0.0 in the development-dependencies group #11
Workflow file for this run
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: Platform tests | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
paths: | |
- 'package.json' | |
- 'platform-tests.yml' | |
- '**/npm/**/Dockerfile' | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-22.04 | |
platform: linuxmusl-x64 | |
- os: ubuntu-22.04 | |
platform: linux-x64 | |
- os: macos-12 | |
platform: darwin-x64 | |
- os: windows-latest | |
platform: win32-x64 | |
- os: windows-latest | |
platform: win32-ia32 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- name: use Docker image to test package (Linux) | |
if: contains(matrix.os, 'ubuntu') | |
run: docker build -t ${{ matrix.PLATFORM }} . -f ./npm/${{ matrix.PLATFORM }}/Dockerfile | |
- name: Install dependencies and test package (Win32 & OSX) | |
if: "!contains(matrix.os, 'ubuntu')" | |
run: | | |
npm install | |
npm run test |