Skip to content

Bump follow-redirects from 1.14.9 to 1.15.4 in /frontend #31

Bump follow-redirects from 1.14.9 to 1.15.4 in /frontend

Bump follow-redirects from 1.14.9 to 1.15.4 in /frontend #31

Workflow file for this run

name: Build
on:
push:
branches: [ develop ]
pull_request:
branches: [ master, develop ]
jobs:
lint-fe:
name: Lint Frontend
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x ]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Cache Node Modules
uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: NPM install
run: npm install
working-directory: frontend
- name: Lint
working-directory: frontend
run: |
npm run lint
npm run typecheck
lint-server:
name: Lint Server
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x ]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Cache Node Modules
uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: NPM install
run: npm install
working-directory: server
- name: Lint
working-directory: server
run: |
npm run lint
- name: Type Check
working-directory: server
run: |
npm run typecheck
test-server:
name: Run Tests for Server
runs-on: ubuntu-latest
needs: lint-server
strategy:
matrix:
node-version: [ 16.x ]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Cache Node Modules
uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: NPM install
run: npm install
working-directory: server
- name: Tests
working-directory: server
run: |
npm run test