Skip to content

Merge master 2

Merge master 2 #799

Workflow file for this run

name: build
on:
push:
branches:
- master
tags:
- v*
pull_request:
jobs:
ci:
runs-on: ${{ matrix.os }}
env:
#hardcode the coveralls token...it's not overly important to protect, and github actions won't allow forks to work with coveralls otherwise
COVERALLS_REPO_TOKEN: "HtDqX6EhvX1rnSjcyezbUWczuR6FZ6eaV"
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: "14.18.1"
architecture: 'x64' # fix for macos-latest
- run: cd src && cd .. #trying to fix "ENOENT: no such file or directory, uv_cwd" error
- run: npm ci
- run: npm run build
- run: npm run lint
- run: npm run test
- run: npm run publish-coverage