Skip to content

chore: update prettier 3.0.3 → 3.1.0 (minor) #565

chore: update prettier 3.0.3 → 3.1.0 (minor)

chore: update prettier 3.0.3 → 3.1.0 (minor) #565

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Next.js CI
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
EDGEDB_INSTANCE_NAME: kiwinews_test
jobs:
install:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn install --frozen-lockfile
lint:
needs: [install]
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: edgedb/setup-edgedb@v1
with:
instance-name: ${{ env.EDGEDB_INSTANCE_NAME }}
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Set up the environment and install dependencies
run: cp .env.test.example .env && yarn install --offline --frozen-lockfile
- name: Initialize EdgeDB instance
run: edgedb project init --non-interactive --link --server-instance ${{ env.EDGEDB_INSTANCE_NAME }}
- run: yarn edgedb:generate:queries
- run: yarn lint:ci:all
typecheck:
needs: [install]
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: edgedb/setup-edgedb@v1
with:
instance-name: ${{ env.EDGEDB_INSTANCE_NAME }}
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Set up the environment and install dependencies
run: cp .env.test.example .env && yarn install --offline --frozen-lockfile
- name: Initialize EdgeDB instance
run: edgedb project init --non-interactive --link --server-instance ${{ env.EDGEDB_INSTANCE_NAME }}
- run: yarn edgedb:generate:queries
- run: yarn tsc:typecheck