Skip to content

Update dependencies, switch to node20, replace nock with undici.MockClient #1542

Update dependencies, switch to node20, replace nock with undici.MockClient

Update dependencies, switch to node20, replace nock with undici.MockClient #1542

Workflow file for this run

name: build-test
on:
pull_request:
push:
branches:
- main
# All other branches are handled in test-and-update which auto-formats,
# updates dist, runs tests, and pushes the changes back to the branch
tags:
- '*'
jobs:
build: # make sure build/ci work properly, and that dist was updated
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
# Ensure this matches .github/workflows/test-and-update.yml and .gitpod.Dockerfile
node-version: '20'
cache: npm
- run: npm install
- run: npm run all
- run: |
git diff --exit-code
if [ -n "$(git status --porcelain)" ]; then
exit 1
fi