Skip to content

Bump @types/node from 17.0.5 to 20.5.4 #1902

Bump @types/node from 17.0.5 to 20.5.4

Bump @types/node from 17.0.5 to 20.5.4 #1902

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
# Windows throws false positives with linting because of CRLF
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v2
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install dependencies
run: npm install
- name: Lint
run: npm run lint
- name: Run tests (ubuntu)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: xvfb-run -a -s '-terminate' npm run test
- name: Run tests (macos, windows)
if: ${{ !(matrix.os == 'ubuntu-latest') }}
run: npm run test