Skip to content

chere: fix build job #11

chere: fix build job

chere: fix build job #11

Workflow file for this run

name: CI
on:
# workflow_dispatch:
pull_request:
push:
# branches:
# - master
paths:
- ".github/**"
- ".npmignore"
- "src/**"
- "test/**"
- "package*.json"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18]
steps:
- uses: actions/checkout@v4
- name: config
run: cp .env.dev .env
- uses: isbang/[email protected]
with:
services: mssql
# - name: Start MSSQL containers
# working-directory: ./
# run: docker-compose up -d mssql
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# cache: npm
- name: npm install and test
run: |
npm install
npm test