Skip to content

Release proposal: 2.0.0 #20

Release proposal: 2.0.0

Release proposal: 2.0.0 #20

Workflow file for this run

name: ci
on:
- pull_request
- push
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 18.x
- 19.x
- 20.x
- 21.x
- 22.x
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Node.js dependencies
run: npm install
- name: List environment
id: list_env
run: |
echo "node@$(node -v)"
echo "npm@$(npm -v)"
npm -s ls ||:
(npm -s ls --depth=0 ||:) | awk -F'[ @]' 'NR>1 && $2 { print $2 "=" $3 }' >> "$GITHUB_OUTPUT"
- name: Run tests
run: npm test