Skip to content

fix: auth

fix: auth #7

Workflow file for this run

name: PR CI
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
jobs:
ci:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: buildjet/setup-node@v3
with:
node-version: 20.9.0
cache: 'pnpm'
registry-url: 'https://npm.pkg.github.com'
scope: '@clinia'
token: ${{ secrets.CLINIA_CI_GITHUB_TOKEN }}
- name: Install node modules
run: pnpm install
env:
NODE_AUTH_TOKEN: ${{ secrets.CLINIA_CI_GITHUB_TOKEN }}
- name: Build
run: pnpm run build
- name: Lint
run: pnpm run lint
- name: Check format
run: pnpm run format:check
# Bring back when we have actual tests
# - name: Test
# run: pnpm run test