mirror of
https://github.com/BluemediaGER/muse.git
synced 2024-11-14 13:45:28 +01:00
26 lines
768 B
YAML
26 lines
768 B
YAML
name: Lint & build
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
name: Lint & build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Cache dependencies
|
|
uses: actions/cache@v1
|
|
with:
|
|
path: ./node_modules
|
|
key: ${{ runner.OS }}-dependencies-${{ hashFiles('**/yarn.lock') }}
|
|
restore-keys: |
|
|
${{ runner.OS }}-dependencies-${{ env.cache-name }}-
|
|
${{ runner.OS }}-dependencies-
|
|
${{ runner.OS }}-
|
|
- name: Install dependencies
|
|
run: yarn install
|
|
- name: Run lint
|
|
run: yarn lint
|
|
- name: Build
|
|
run: yarn build
|