Skip to content

dispatch-create-whats-new-page - fix branch name #7253

dispatch-create-whats-new-page - fix branch name

dispatch-create-whats-new-page - fix branch name #7253

Workflow file for this run

name: Node CI
on:
pull_request:
types: [opened, synchronize, reopened]
env:
NEXT_PUBLIC_TINA_CLIENT_ID: ${{ secrets.NEXT_PUBLIC_TINA_CLIENT_ID }}
TINA_TOKEN: ${{ secrets.TINA_TOKEN }}
NEXT_PUBLIC_TINA_BRANCH: ${{ github.head_ref }}
NODE_OPTIONS: '--max_old_space_size=4096'
TINA_SEARCH_TOKEN: ${{ secrets.TINA_SEARCH_TOKEN }}
UNOPTIMIZED_IMAGES: 'true'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: yarn install, build, and test
run: |
yarn install
yarn build
yarn lint
yarn test
env:
CI: true
- name: yarn export
run: |
yarn export
env:
CI: true
- name: 📉 Check HTML
uses: anishathalye/[email protected]
with:
directory: './out'
enforce_https: false
check_img_http: false
check_external_hash: false
empty_alt_ignore: true
url_ignore_re: '/.+\/(blog|404)\/.+/'