Skip to content

chore(deps): bump nanoid from 3.3.4 to 3.3.8 #714

chore(deps): bump nanoid from 3.3.4 to 3.3.8

chore(deps): bump nanoid from 3.3.4 to 3.3.8 #714

Workflow file for this run

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