Skip to content

Node CI

Node CI #241

Workflow file for this run

name: Node CI
on:
push:
paths:
- 'rescript/**'
- '.github/workflows/rescript**'
pull_request:
paths:
- 'rescript/**'
- '.github/workflows/rescript**'
schedule:
# weekly build every FRI
- cron: "0 6 * * 5"
jobs:
matrix_build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ ubuntu-latest ]
node-version: [ 10.x, 12.x, 14.x, 15.x ]
name: Node.js ${{ matrix.node-version }} Build on ${{ matrix.operating-system }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.5.1
with:
node-version: ${{ matrix.node-version }}
- name: rescript bs-jest-tests
working-directory: rescript
run: |
npm ci
npm run build
npm run test:ci
env:
CI: true