Skip to content

Commit

Permalink
Create master.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
litetex authored Sep 28, 2020
1 parent beb49e7 commit a6a1fae
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Master CI

on:
workflow_dispatch:
push:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: 12.x

- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install
working-directory: src

- run: npm run web-ext lint
working-directory: src

- run: npm run web-ext build
working-directory: src

- uses: actions/upload-artifact@v2
with:
name: built-artifacts
path: src/web-ext-artifacts/

0 comments on commit a6a1fae

Please sign in to comment.