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

fix ci

fix ci #75

Workflow file for this run

name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
timeout-minutes: 5
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: create env file
run: |
touch .env
echo "NPM_TOKEN=${{ secrets.NPM_TOKEN }}" >> .env
- name: npm install, build
run: |
export $(cat .env | xargs) && npm install
npm run build --if-present
npm run lint
env:
CI: true
- name: Run tape tests
run: |
npm run build-tests
xvfb-run --server-args="-screen 0 1920x1080x24" npm run test-tape-run