chore(deps): bump next from 13.2.3 to 14.2.10 #709
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: Windows Node CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: windows-latest | |
env: | |
CI: true | |
CONFIRM_DROP: 1 | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
steps: | |
# Force LF line endings - necessary to have prettier not complain | |
- name: Prepare git | |
run: | | |
git config --global core.autocrlf false | |
git config --global core.eol lf | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node.js 16 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "16" | |
- name: Start Postgres 14 | |
run: | | |
sc config postgresql-x64-14 start=auto | |
net start postgresql-x64-14 | |
- name: Setup environment | |
# Windows postgres auth is 'postgres'/'root' - see | |
# https://github.com/actions/runner-images/blob/main/images/win/Windows2022-Readme.md#postgresql | |
run: | | |
cp .env.ci .env | |
echo "ROOT_DATABASE_URL=postgres://postgres:root@localhost/template1" >> .env | |
# These all need to be separate steps on Windows because a failure of a | |
# command doesn't fail the whole job step - see | |
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell | |
- name: yarn | |
run: yarn --immutable | |
- name: setup | |
run: yarn setup | |
- name: build | |
run: yarn build | |
- name: lint | |
run: yarn lint | |
- name: test | |
run: yarn test --ci | |
- name: depcheck | |
run: yarn depcheck |