Skip to content

Q2 2025 Update

Q2 2025 Update #22

Workflow file for this run

name: Run tests
on:
workflow_dispatch:
pull_request:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: 22.x
registry-url: "https://npm.pkg.github.com"
- name: Create .npmrc
run: |
echo "@gordonfn:registry=https://npm.pkg.github.com" >> ~/.npmrc
echo ".npmrc" >> .gitignore
- name: Cache npm
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: |
npm install
- name: Build and test
run: |
npm test