Skip to content

Going Fullstack

Going Fullstack #1006

Workflow file for this run

name: πŸš€ Start UI [web]
on:
push:
branches:
- master
pull_request:
jobs:
build-and-test:
name: Lint and Test
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 'lts/*']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: yarn install
- name: Lint code and types
run: yarn lint