Skip to content

Update dependency next to v14.2.35 [SECURITY] #178

Update dependency next to v14.2.35 [SECURITY]

Update dependency next to v14.2.35 [SECURITY] #178

Workflow file for this run

name: tests
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build-and-run-prettier:
name: Build and run prettier
runs-on: ubuntu-latest
concurrency:
group: tests-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "18.x"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v4
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
run: yarn --prefer-offline --frozen-lockfile install
- name: "Run tests"
run: yarn test
- name: Build
run: yarn build
- name: Run prettier
run: |
yarn lint:prettier