Bump babel-loader from 8.1.0 to 9.1.3 in /frontend #5158
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: CI | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v2 | |
# Let's get setup with Node | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: "12.x" | |
# - name: Install homebrew | |
# run: | | |
# sudo apt-get update | |
# sudo apt-get install libnss3-tools | |
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
# # Add Homebrew to path | |
# # c.f. https://github.community/t5/GitHub-Actions/Installing-Homebrew-on-Linux/td-p/51916 | |
# echo "/home/linuxbrew/.linuxbrew/bin" >> $GITHUB_PATH | |
# - name: Setup local dev certs | |
# run: | | |
# brew install mkcert | |
# mkcert -install | |
# mkdir dev-certs | |
# cd dev-certs | |
# mkcert localhost | |
# cd ../ | |
# So we can daemonise yarn start | |
# - run: sudo yarn global add pm2 | |
- name: Install frontend | |
run: yarn install | |
working-directory: frontend | |
- name: Lint frontend | |
run: yarn lint | |
working-directory: frontend | |
- name: Build frontend | |
run: yarn build | |
working-directory: frontend | |
# Start daemonised local dev | |
# - run: pm2 start node_modules/react-scripts/scripts/start.js --name react-app | |
# Screenshot the landing page | |
# - name: Take photo of our local build | |
# uses: "lannonbr/[email protected]" | |
# with: | |
# # url: https://localhost:3000 | |
# url: https://trove.keithmoss.me |