Skip to content

build(deps): bump focus-trap-react from 8.11.3 to 10.2.2 #54

build(deps): bump focus-trap-react from 8.11.3 to 10.2.2

build(deps): bump focus-trap-react from 8.11.3 to 10.2.2 #54

name: Validate
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
validate-and-build:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- name: Cache dependencies
uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn
- name: Validate
run: yarn validate
- name: Build
run: yarn build:prefix