Skip to content

README.md: Some npm config commands no longer work (#906) #429

README.md: Some npm config commands no longer work (#906)

README.md: Some npm config commands no longer work (#906) #429

Workflow file for this run

name: CI
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
build:
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node: ['14.x', '16.x', '18.x']
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: npm
- name: Install deps and build (with cache)
run: npm i
- name: Lint
run: npm run lint
- name: Test
run: npm run test --ci --coverage --maxWorkers=2
- name: Build
run: npm run build
- name: Codecov
uses: codecov/codecov-action@v3