Skip to content

%sql in ReScript (#6) #19

%sql in ReScript (#6)

%sql in ReScript (#6) #19

Workflow file for this run

name: CI
on:
push:
branches:
- rescript
pull_request:
branches:
- rescript
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['16', '18']
name: Test (node ${{ matrix.node-version }}.x)
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- name: Build packages
run: npm run build
- name: Run tests
run: npm test
env:
NODE_VERSION: ${{ matrix.node-version }}