User profiles #114
This file contains hidden or 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: Lint Code | |
on: | |
push: | |
branches: | |
- develop | |
- main | |
pull_request: | |
branches: | |
- develop | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
env: | |
THUMBNAIL_URL: ${{ vars.THUMBNAIL_URL }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Bun | |
run: | | |
curl -fsSL https://bun.sh/install | bash | |
echo "${HOME}/.bun/bin" >> $GITHUB_PATH | |
- name: Install dependencies | |
run: bun install | |
- name: Run linter | |
run: bun run lint |