[DRAFT] ENSIP Verifiable Credentials & Presentations #328
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: π | |
on: | |
push: | |
branches: [master, main] | |
merge_group: | |
pull_request: | |
branches: [master, main] | |
# Automatically cancel in-progress actions on the same branch | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }} | |
cancel-in-progress: true | |
env: | |
NODE_OPTIONS: '--max_old_space_size=8192' | |
jobs: | |
typecheck: | |
name: π¦ Typescript | |
runs-on: ubuntu-latest | |
env: | |
FORCE_COLOR: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Tools & Dependencies | |
uses: ./.github/actions/install | |
- name: Run typecheck | |
working-directory: ./app | |
run: pnpm run typecheck | |
eslint: | |
name: π Linting | |
runs-on: ubuntu-latest | |
env: | |
FORCE_COLOR: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Tools & Dependencies | |
uses: ./.github/actions/install | |
- name: Run eslint | |
working-directory: ./app | |
run: pnpm run lint | |
build: | |
name: π οΈ Build | |
runs-on: ubuntu-latest | |
env: | |
FORCE_COLOR: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Tools & Dependencies | |
uses: ./.github/actions/install | |
- name: Build | |
working-directory: ./app | |
run: pnpm run build |