Skip to content

chore(release): 6.1.12 #153

chore(release): 6.1.12

chore(release): 6.1.12 #153

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: [14.x, 16.x, 17.x]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Determine Yarn Cache Path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
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@v1
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