Skip to content

Revert "Fix 301 and 302 redirects. (#6001)" (#6009) #14987

Revert "Fix 301 and 302 redirects. (#6001)" (#6009)

Revert "Fix 301 and 302 redirects. (#6001)" (#6009) #14987

Workflow file for this run

name: Unit Tests
on: [push]
jobs:
unit:
name: Core Unit Tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v3
# node setup
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
# remove workaround for 18.x once https://github.com/nodejs/node/issues/47563 is fixed
node-version: ${{ matrix.node-version == '18.x' && '18.15.0' || matrix.node-version }}
cache: yarn
# node install
- run: yarn --immutable
# node test
- run: yarn i18n && yarn test:ci
# Bundlewatch
- run: yarn build
- uses: jackyef/bundlewatch-gh-action@master
with:
bundlewatch-github-token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}