Skip to content

Commit

Permalink
CI: enable lint-test-package
Browse files Browse the repository at this point in the history
  • Loading branch information
Surendrajat authored and LoyieKing committed Jun 2, 2020
1 parent 51956c0 commit 28f0d25
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/smalise.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Smalise
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node: [10, 12, 14]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repo
uses: actions/checkout@v2
- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm install
- name: Run Linter
run: npm run lint
- name: Run tests
uses: GabrielBB/[email protected]
with:
run: npm test
- name: Package extension
run: npm install -g vsce && vsce package

0 comments on commit 28f0d25

Please sign in to comment.