Feat: user logo #79
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: CI | |
on: [pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
env: | |
JWT_SECRET_KEY: "secret-key" | |
steps: | |
- name: Checkout to repo | |
uses: actions/checkout@v4 | |
- name: Setup nodejs | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 'v20.12.2' | |
- name: Corepack enable | |
run: corepack enable | |
- name: Check yarn version | |
run: yarn -v | |
- name: Install deps | |
run: yarn | |
- name: Run lint | |
run: yarn lint | |
# tests: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout to repo | |
# uses: actions/checkout@v4 | |
# - name: Setup nodejs | |
# uses: actions/setup-node@v4 | |
# with: | |
# node-version: 'v20.12.2' | |
# - name: Corepack enable | |
# run: corepack enable | |
# - name: Check yarn version | |
# run: yarn -v | |
# - name: Install deps | |
# run: yarn | |
# - name: Create .env.test file | |
# run: | | |
# echo "JWT_SECRET_KEY=your_test_secret_key" > .env.test | |
# - name: Run test | |
# run: yarn test |