mc-publish/.github/workflows/ci.yml

23 lines
381 B
YAML
Raw Permalink Normal View History

2021-09-25 10:04:10 -04:00
name: ci
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
2024-01-12 06:32:18 -05:00
- uses: actions/checkout@v4
- name: Set up Node.js v16
2024-01-12 06:32:18 -05:00
uses: actions/setup-node@v4
2021-09-25 10:04:10 -04:00
with:
node-version: 16
2021-09-25 10:04:10 -04:00
- name: Set up node modules
run: npm ci
2023-05-19 15:11:43 -04:00
- name: Build artifacts
run: npm run build
2021-09-25 10:04:10 -04:00
- name: Execute tests
run: npm run test