apple1js/.github/workflows/nodejs.yml

28 lines
547 B
YAML
Raw Normal View History

2019-11-23 18:49:25 +00:00
name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
2024-09-17 04:26:40 +00:00
node-version: [18.x, 20.x, 22.x]
2019-11-23 18:49:25 +00:00
steps:
2023-11-22 22:20:40 +00:00
- uses: actions/checkout@v2
with:
2024-09-17 04:26:40 +00:00
submodules: 'true'
2023-08-06 13:04:16 +00:00
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm ci
npm run build --if-present
2023-11-22 22:20:40 +00:00
# npm test
2023-08-06 13:04:16 +00:00
env:
CI: true