Skip to content

v1.4.0

v1.4.0 #19

Workflow file for this run

name: Code Quality Checks
on:
pull_request:
branches:
- "**"
push:
branches:
- main
jobs:
test:
name: CI Test
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: styfle/cancel-workflow-action@0.9.1
with:
all_but_latest: true
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: actions/setup-node@v2
with:
node-version: 14
- name: Configure JDK 1.11
uses: actions/setup-java@v2
with:
distribution: "adopt"
java-version: "11"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
name: Yarn Cache
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('**/package.json') }}
restore-keys: ${{ runner.os }}-yarn-v1
- name: Yarn Install
uses: nick-invision/retry@v2
with:
timeout_minutes: 3
retry_wait_seconds: 30
max_attempts: 3
command: yarn --no-audit --prefer-offline
- name: Lint
run: ./test.sh