Release 16.31.1 #13361
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |