Skip to content

Feature/spa support spa websites #28

Feature/spa support spa websites

Feature/spa support spa websites #28

Workflow file for this run

name: Node.js CI
on:
pull_request:
branches:
- main
jobs:
install_dependencies:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Cache node_modules
uses: actions/cache@v2
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: install dependencies
run: yarn install --frozen-lockfile --check-files
env:
CI: true
run_lint:
needs: install_dependencies
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Cache node_modules
uses: actions/cache@v2
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: run eslint
run: yarn lint
env:
CI: true
- name: run stylelint
run: yarn lint
env:
CI: true