This repository has been archived by the owner on Oct 25, 2023. It is now read-only.
Bump semver from 5.7.1 to 5.7.2 #1566
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
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Yarn lint, build, test | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Build libs | |
run: yarn build-libs | |
- name: Run linters | |
run: yarn lint:heavy | |
- name: Build archaeologist | |
run: yarn archaeologist build:chrome:public | |
- name: Build truthsayer | |
# This is a little absurd, but CI=true forces React build script to treat | |
# all warnings as errors. Let's turn it off to unblock the change. Once | |
# we get rid of all the warnings we can enable CI back. | |
# https://github.com/facebook/create-react-app/issues/3657 | |
env: | |
CI: false | |
run: yarn truthsayer build | |
- run: yarn test --all --watchAll=false --no-watchman |