Skip to content

build(deps): bump the minorandpatch group across 1 directory with 17 … #86

build(deps): bump the minorandpatch group across 1 directory with 17 …

build(deps): bump the minorandpatch group across 1 directory with 17 … #86

Workflow file for this run

name: website
on:
push:
defaults:
run:
working-directory: ./website
concurrency:
group: ci-${{ github.ref }}-variation
cancel-in-progress: true
jobs:
checks:
name: Check format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache yarn
uses: actions/cache@v4
id: yarn-cache
with:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('variation/**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn --immutable
- name: Check format
run: yarn lint
unitTests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache yarn
uses: actions/cache@v4
id: yarn-cache
with:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('variation/**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn --immutable
- name: Run tests
run: yarn test