Skip to content

chore(release): 7.0.2 #190

chore(release): 7.0.2

chore(release): 7.0.2 #190

Workflow file for this run

name: Build (CI)
on:
pull_request:
branches: [main]
types: [opened, synchronize, closed]
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Determine Yarn Cache Path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- 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: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Packages
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
env:
CI: true
- name: Test
run: yarn run test:ci
env:
CI: true