Update dependency @types/node to ^16.18.126 #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Page tests | |
on: | |
push: | |
paths: | |
- 'src/pages/**' | |
pull_request: | |
paths: | |
- 'src/pages/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- id: files | |
continue-on-error: true | |
uses: jitterbit/get-changed-files@v1 | |
with: | |
format: 'json' | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: Checkout test data | |
uses: actions/checkout@v4 | |
with: | |
repository: MALSync/test_data | |
ref: 'master' | |
path: test/dist/headless | |
- name: Decode | |
run: node decrypt.js | |
working-directory: test/dist/headless | |
# see https://github.com/puppeteer/puppeteer/issues/12818 | |
- name: Disable AppArmor | |
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns | |
- name: Page Tests | |
run: | | |
npm ci | |
npm run test:headless | |
env: | |
CI: true | |
FILES: ${{steps.files.outputs.added_modified}} | |