mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 16:57:34 +00:00
e9fc0bf5f7
Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
23 lines
507 B
YAML
23 lines
507 B
YAML
name: ci
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- uses: actions/setup-node@v2.1.1
|
|
with:
|
|
node-version: 14
|
|
- uses: actions/cache@v2
|
|
with:
|
|
path: ~/.npm
|
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
|
restore-keys: ${{ runner.os }}-node-
|
|
- name: Pull dependencies
|
|
run: |
|
|
npm ci
|
|
npm run lint
|