Skip to content

chore(deps): update dependency typescript-eslint to v8.8.0 #190

chore(deps): update dependency typescript-eslint to v8.8.0

chore(deps): update dependency typescript-eslint to v8.8.0 #190

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions:
contents: read # for checkout
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
services:
postgres:
image: postgres:latest
env:
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
ports:
- 5432:5432
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Enable Corepack before setting up Node
run: corepack enable
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Check lint, types, and formatting
run: yarn lint:ci && yarn format:ci && yarn type:check
- name: Run tests
run: yarn test
- name: Seed DB
run: yarn db:migrate
env:
DBMATE_DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres?sslmode=disable
- name: Run build
run: yarn build
- name: Run e2e tests
run: yarn test:e2e
env:
POSTGRES_URL: localhost:5432
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: postgres
LOG_LEVEL: error
NODE_ENV: test
- uses: actions/upload-artifact@v4
if: always()
with:
name: reports
path: reports/
retention-days: 30
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: 'unused'
run: yarn semantic-release