Skip to content

chore(deps): lock file maintenance #9596

chore(deps): lock file maintenance

chore(deps): lock file maintenance #9596

Workflow file for this run

name: Build packages
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ steps.nvm.outputs.NVMRC }}
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install packages
run: yarn
- name: Build source
run: yarn build
- name: Build parcel example
run: yarn build:parcel
- name: Build SSR example
run: yarn build:ssr
- name: Build webpack example
run: yarn build:webpack
- name: Build webpack extracted example
run: yarn build:webpack:extract