apple1js/.github/workflows/nodejs.yml

28 lines
541 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:
2023-08-06 13:04:16 +00:00
node-version: [16.x, 18.x]
2019-11-23 18:49:25 +00:00
steps:
2023-11-22 22:20:40 +00:00
- uses: actions/checkout@v2
with:
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