Skip to content

Merge pull request #4997 from JoltedCowIceCream/patch-1 #10919

Merge pull request #4997 from JoltedCowIceCream/patch-1

Merge pull request #4997 from JoltedCowIceCream/patch-1 #10919

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 }}