Skip to content

Bump sha.js from 2.4.11 to 2.4.12 #17

Bump sha.js from 2.4.11 to 2.4.12

Bump sha.js from 2.4.11 to 2.4.12 #17

Workflow file for this run

name: Check PR for errors
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the development branch
on:
pull_request:
branches: [development, master]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
dependencies:
name: Install dependencies
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
# Runs a single command using the runners shell
- name: Install dependencies
run: yarn install --frozen-lockfile
codestyle:
name: Enforce code style
needs: dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Check Prettier formatting
run: yarn format:check
- name: Check ESLint rules
run: yarn lint:ci
tests:
name: Run tests
needs: dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Tests
run: yarn test --all --ci