Prefer usage of npm_config_target
and npm_config_runtime
#87
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: Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
node: [18, 20, 22, latest] # https://nodejs.org/en/about/previous-releases | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.os }} / Node ${{ matrix.node }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use node ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install | |
run: npm install | |
- name: Test | |
run: npm test |