Skip to content

fix: update U to 1001 #165

fix: update U to 1001

fix: update U to 1001 #165

Workflow file for this run

name: CI
# Update to match your requirements
on:
push:
branches:
- 'master'
pull_request:
types: [ assigned, opened, synchronize, reopened, labeled ]
jobs:
main:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
# See: https://github.com/actions/cache/blob/main/examples.md#node---yarn
- name: Get Yarn cache directory
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Use Yarn cache
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
# `--prefer-offline` gives cache priority
- name: Install dependencies
run: yarn install --prefer-offline --frozen-lockfile
# Ready to run steps that rely on node_modules
- name: Build
run: yarn build