Skip to content

Update for Secrets of the Obscure #643

Update for Secrets of the Obscure

Update for Secrets of the Obscure #643

Workflow file for this run

name: 'Test: All Tests'
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
push:
branches:
- staging
env:
NODE_VERSION: 18
jobs:
testAll:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Cache dependencies
id: node-modules-cache
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-${{ env.NODE_VERSION }}-node_modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn install --frozen-lockfile
if: steps.node-modules-cache.outputs.cache-hit != 'true'
- name: Test modifier and preset data
run: yarn testData
- name: Lint with ESLint
run: yarn eslint
- name: Format with prettier
run: yarn prettierCheck