Prevent and fix restricted imports between src/background, src/content and src/common #1056
Workflow file for this run
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
security: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npx lockfile-lint --path package-lock.json --validate-https | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
env: | |
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: "true" | |
with: | |
node-version: 18 | |
- run: npm install | |
- uses: david-tejada/puppeteer-headful@master | |
with: | |
args: npm test |