Update all non-major dependencies #5
Workflow file for this run
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: | |
branches: | |
- main | |
permissions: | |
contents: write | |
id-token: write | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
with: | |
fetch-depth: 0 | |
- uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: 📦 Install dependencies | |
run: bun install | |
- name: 💅 Lint code | |
run: bun run lint | |
- name: 🧪 Run tests | |
run: bun run test | |
- uses: dorny/paths-filter@v3 | |
id: changes | |
with: | |
filters: | | |
src: | |
- 'src/**' | |
- 'package.json' | |
- name: 🚀 Release | |
if: github.event_name == 'push' && steps.changes.outputs.src == 'true' | |
run: ./scripts/release.sh | |
env: | |
NPM_TOKEN: ${{secrets.NPM_TOKEN}} |