-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
19,866 additions
and
73 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,34 @@ | ||
env: {} | ||
|
||
# FILE GENERATED WITH: npx ghat fregante/ghatemplates/node | ||
# SOURCE: https://github.com/fregante/ghatemplates | ||
# OPTIONS: {"exclude":["jobs.Test"]} | ||
# FILE GENERATED WITH: npx ghat fregante/content-scripts-register-polyfill/.github/workflows/ci.yml | ||
# SOURCE: https://github.com/fregante/content-scripts-register-polyfill | ||
|
||
name: Test | ||
|
||
name: CI | ||
on: | ||
- pull_request | ||
- push | ||
|
||
jobs: | ||
Lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: install | ||
run: npm ci || npm install | ||
- name: XO | ||
run: npx xo | ||
- uses: actions/checkout@v3 | ||
- run: npm ci | ||
- run: npx xo | ||
|
||
Build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: install | ||
run: npm ci || npm install | ||
- name: build | ||
run: npm run build | ||
- uses: actions/checkout@v3 | ||
- run: npm ci | ||
- run: npm run build | ||
- run: npm run demo:build | ||
|
||
Test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: sudo apt-get install xvfb | ||
- run: npm ci | ||
- run: xvfb-run --auto-servernum npm run jest |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,5 @@ logs | |
*.map | ||
index.js | ||
index.d.ts | ||
.parcel-cache | ||
dist |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "@parcel/config-webextension" | ||
} |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const path = require('path'); | ||
|
||
module.exports = { | ||
launch: { | ||
headless: false, | ||
args: [ | ||
'--disable-extensions-except=' + path.resolve(__dirname, 'test/dist'), | ||
'--window-size=400,800', | ||
], | ||
}, | ||
}; |
Oops, something went wrong.