chore(deps): [email protected] #2357
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: nodejs | |
on: [pull_request, push] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [18, 20] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/[email protected] | |
- name: Node.js ${{ matrix.node-version }} | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update npm | |
run: | | |
npm install -g npm | |
npm --version | |
- name: Install dependencies | |
uses: bahmutov/[email protected] | |
with: | |
useLockFile: false | |
- name: npm ls | |
run: npm ls | |
- name: Test | |
run: npm test |