Skip to content

Commit

Permalink
ci: 🎡 run test before publish extension
Browse files Browse the repository at this point in the history
  • Loading branch information
shufo committed Feb 3, 2021
1 parent 005560a commit e4985fb
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,29 @@ on:
name: Publish Exntension

jobs:
test:
name: test
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install dependencies
run: npm install
- name: Run headless test
uses: GabrielBB/[email protected]
with:
run: npm run test

build:
name: Publish Extension
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit e4985fb

Please sign in to comment.