Skip to content

Pin GitHub Actions to full-length commit SHAs #172

Pin GitHub Actions to full-length commit SHAs

Pin GitHub Actions to full-length commit SHAs #172

Workflow file for this run

name: CI
on: [push, pull_request]
permissions: {}
jobs:
windows:
name: Windows
runs-on: windows-2022
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 22
- run: npm ci
- run: npm test
linux:
name: Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 22
- run: sudo apt install -y libx11-dev libxkbfile-dev
- run: npm ci
- run: npm test
macos:
name: macOS
runs-on: macos-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
persist-credentials: false
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 22
# https://github.com/nodejs/node-gyp/issues/2869
- run: python3 -m venv .venv && source .venv/bin/activate && python3 -m pip install setuptools
- run: npm ci
- run: npm test