Skip to content

Patch axios

Patch axios #875

Workflow file for this run

name: Test
on:
pull_request:
branches: master
jobs:
run-tests:
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [18, 20, 22]
os: [ubuntu-latest]
include:
- perform-attestation: true
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
- run: npm run test:coverage
- run: |
sudo apt-get update ; sudo apt-get install -y libfaketime
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1 npm run test:filter attestGA
env:
FAKETIME: '2023-09-22 11:24:32'
if: ${{ matrix.perform-attestation }}