Skip to content

Bump actions/checkout from 2.3.4 to 4.0.0 #1066

Bump actions/checkout from 2.3.4 to 4.0.0

Bump actions/checkout from 2.3.4 to 4.0.0 #1066

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:9.6.17
env:
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
steps:
- uses: actions/checkout@v4.0.0
- name: Use Node 16
uses: actions/setup-node@v2.1.5
with:
node-version: "16.x"
- name: Cache node modules
uses: actions/cache@v2.1.5
with:
path: "**/node_modules"
key: ${{ runner.os }}-build-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies and Test
run: yarn install
- name: Build
run: yarn run build
- name: Lint
run: yarn run lint
- name: Test
run: yarn run test
env:
PORT: 12000
PGHOST: 127.0.0.1
PGUSER: postgres
PGPASSWORD: postgres
PGPORT: 5432
PGSSL: false