Skip to content

feat(db): add migrations for auth, task, and legacy tables #108

feat(db): add migrations for auth, task, and legacy tables

feat(db): add migrations for auth, task, and legacy tables #108

Workflow file for this run

name: Code verify
concurrency:
group: code-PR-verify-${{ github.event.pull_request.number }}
cancel-in-progress: true
on:
pull_request:
paths:
- "code/**"
- ".github/workflows/code*"
jobs:
unit-tests:
name: Code / Verify
timeout-minutes: 60
runs-on: ubuntu-24.04
env:
ASDF_BRANCH_VERSION: 0.18.0
steps:
- name: Checkout / Branch Head
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: NPM / Setup Dependencies Cache
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('code/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: asdf / Setup Dependencies Cache
uses: actions/cache@v4
id: asdf-cache
with:
path: ~/.asdf
key: ${{ runner.os }}-asdf-${{ env.ASDF_BRANCH_VERSION }}-${{ hashFiles('code/.tool-versions') }}
- name: Save tool-versions content
run: |
{
echo "TOOL_VERSIONS<<EOF"
cat code/.tool-versions
echo "EOF"
} >> "$GITHUB_ENV"
- name: NPM / Setup asdf environment
uses: asdf-vm/actions/install@1902764435ca0dd2f3388eea723a4f92a4eb8302 # v4.0.0
# https://github.com/asdf-vm/actions/issues/356
if: steps.asdf-cache.outputs.cache-hit != 'true'
with:
tool_versions: ${{ env.TOOL_VERSIONS }}
asdf_version: ${{ env.ASDF_BRANCH_VERSION }}
- name: NPM / Create Cache Folders
run: |
mkdir -p "$HOME"/.npm
- name: NPM / Verify
working-directory: code
run: |
npm ci --force
npm run verify