Skip to content

Bump semver from 7.3.7 to 7.5.2 in /scripts #229

Bump semver from 7.3.7 to 7.5.2 in /scripts

Bump semver from 7.3.7 to 7.5.2 in /scripts #229

Workflow file for this run

---
name: Build package
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Find cache
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Restore cache
uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile --check-files --ignore-scripts
- name: Install scripts dependencies
working-directory: ./scripts
run: yarn install --frozen-lockfile --check-files --ignore-scripts
- name: Clean build
run: rm -rf build plugin/build
- name: Bake version
run: yarn bake-version
- name: Build package
run: yarn build
- name: Build up-to-date
run: git diff --stat --exit-code build
- name: Build plugin package
run: yarn build plugin
- name: Plugin up-to-date
run: git diff --stat --exit-code plugin/build