Adding web-ext step to Actions #11
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: Karma Tests | |
# Run on Pull Request to $branch only | |
on: [push] | |
# Job Setup | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 #Checkout Repo | |
- uses: actions/setup-node@v1 #Setup Node | |
with: | |
node-version: '12' | |
- name: Run Karma Tests | |
run: | | |
npm install | |
npm run test | |
timeout-minutes: 5 | |
web-ext: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 #Checkout Repo | |
- name: Web-ext lint | |
uses: kewisch/action-web-ext@v1 | |
with: | |
cmd: lint | |
channel: listed | |