Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

fix(github-workflows): update build and test workflows for Crosswind #4

fix(github-workflows): update build and test workflows for Crosswind

fix(github-workflows): update build and test workflows for Crosswind #4

Workflow file for this run

name: Build and test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 12.x
steps:
- uses: actions/checkout@v3
- name: Use Nodejs ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build --if-present
- name: Test and run coverage
run: npm run test:ci