Skip to content

Expected Products #10060

Expected Products

Expected Products #10060

Workflow file for this run

name: Build Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build-tests:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: Use Node.js 20.x
uses: actions/setup-node@v1
with:
node-version: 20.x
- uses: dart-lang/setup-dart@v1
- name: Cache node modules
uses: actions/cache@v2
id: cache-node-modules
with:
path: node_modules
key: node-modules-${{ hashFiles('**/yarn.lock') }}
- run: yarn
- run: yarn build
env:
NODE_OPTIONS: --max-old-space-size=4096
- run: ./node_modules/.bin/serve public &
- run: dart pub global activate linkcheck
- name: Check Links
run: $HOME/.pub-cache/bin/linkcheck --no-nice :5000
- name: Bundle Watch
run: yarn bundlewatch ./public/*.js
env:
BUNDLEWATCH_GITHUB_TOKEN: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
CI_COMMIT_SHA: ${{ github.event.pull_request.head.sha }}