You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# You might ask why this workflow exists? Well apparently, the linter can pass but the build can still fail. So at some point during the review process we need to run the build. Hence, this file
name: Code Build Assurance
on:
pull_request:
branches: [env/dev, env/prod]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
node-version: [12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Test using Node ${{ matrix.node-version }}
env:
NODE_OPTIONS: "--max_old_space_size=8192"
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: NODE_ENV=development CI=false npm run build-dev