Bump unicode-name from 1.0.4 to 1.1.0 #519
Workflow file for this run
This file contains hidden or 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: [main] | |
pull_request: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [22.x, lts/*, 'node'] | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@v5 | |
- name: Set up with Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v5 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Print Node.js version and CI environment | |
run: | | |
echo "Node.js version: $(node -v)" | |
echo "Environment: CI=${{ env.CI }}" | |
- name: Download dependencies | |
run: npm ci | |
- name: Test with Node.js ${{ matrix.node-version }} | |
run: npm test | |
JSON-spec-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [22.x, lts/*, 'node'] | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@v5 | |
- name: Set up with Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v5 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Print Node.js version and CI environment | |
run: | | |
echo "Node.js version: $(node -v)" | |
echo "Environment: CI=${{ env.CI }}" | |
- name: Download dependencies | |
run: npm ci | |
- name: Run JSON spec tests with Node.js ${{ matrix.node-version }} | |
run: npm run testSpecs | |
Browser-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [22.x, lts/*, 'node'] | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@v5 | |
- name: Set up with Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v5 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Print Node.js version and CI environment | |
run: | | |
echo "Node.js version: $(node -v)" | |
echo "Environment: CI=${{ env.CI }}" | |
- name: Download root dependencies | |
run: npm ci | |
- name: Clean browser dependencies | |
working-directory: ./browser | |
run: | | |
rm -rf package-lock.json node_modules | |
- name: Install browser dependencies | |
working-directory: ./browser | |
run: npm install | |
- name: Run browser tests with Node.js ${{ matrix.node-version }} | |
working-directory: ./browser | |
run: npm test |