Release patch version of Reffy - v18.1.3 #3351
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
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
name: test | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
# Starting with Ubuntu 23+, a security feature prevents running Puppeteer | |
# by default. It needs to be disabled. Using the "easiest" option, see: | |
# https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md | |
# https://github.com/puppeteer/puppeteer/pull/13196/files | |
- name: Disable AppArmor | |
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
cache: 'npm' | |
- run: npm ci | |
- run: npm test |