Skip to content

Bump typescript from 4.9.5 to 5.1.6 #194

Bump typescript from 4.9.5 to 5.1.6

Bump typescript from 4.9.5 to 5.1.6 #194

Workflow file for this run

name: test
on:
push:
pull_request:
branches: [master]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
node_version:
- 14
- 16
- 18
architecture:
- x64
# an extra windows-x86 run:
include:
- os: windows-latest
node_version: 14
architecture: x86
name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
architecture: ${{ matrix.architecture }}
cache: "npm"
- name: Install latest npm with workaround for windows and node 14
# Fix for windows bug when installing npm 9 with node 14
# https://github.com/actions/setup-node/issues/623#issuecomment-1313381044
if: matrix.node_version == 14 && matrix.os == 'windows-latest'
run: npm i -g npm@8 && npm i -g npm@latest
- name: Install latest npm
if: matrix.node_version != 14 || matrix.os != 'windows-latest'
run: npm i -g npm@latest
- name: Clean install dependencies
run: npm ci
- name: Run tests
run: npm test