1
0
mirror of https://github.com/barthuijgen/factorio-sites.git synced 2025-01-26 11:54:13 +02:00

Merge branch 'master' into dependabot/npm_and_yarn/react-multi-select-component-3.1.5

This commit is contained in:
Bart 2021-03-11 10:55:19 +01:00 committed by GitHub
commit cf639997fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,6 @@
name: Nx validate CI
name: Validate
on:
push:
branches:
- master
- dev
pull_request:
branches:
- "*"
on: pull_request
jobs:
validate:
@ -16,8 +9,18 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "14"
- run: yarn
node-version: "14.x"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn --prefer-offline
- run: yarn db-gen
- run: yarn nx lint
- run: yarn nx test