chore(deps): update dependency eslint to v9 #149
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: Install dependencies | |
run: bun install --frozen-lockfile | |
- name: Build package | |
run: bun run build | |
- name: Run Danger JS | |
if: github.event_name == 'pull_request' | |
run: bun danger ci | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
semgrep: | |
runs-on: ubuntu-latest | |
if: github.actor != 'kitabisaengineer' && !endsWith(github.actor, '[bot]') | |
container: | |
image: semgrep/semgrep | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run Semgrep | |
run: semgrep scan --config auto |