refactor: upgraded tooling for autodev repo #910
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: Continuous Integration | |
on: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
- "releases/*" | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "pnpm" | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Build Action | |
run: pnpm run all | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Execute Action | |
uses: ./ | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
user: ${{ secrets.DEV_PUSH_USER }} | |
labels: true | |
comments: true | |
dependabot: | |
needs: [build, test] | |
uses: Staffbase/gha-workflows/.github/workflows/template_automerge_dependabot.yml@v5.5.0 | |
with: | |
force: true | |
secrets: | |
app_id: ${{ vars.STAFFBASE_ACTIONS_APP_ID }} | |
private_key: ${{ secrets.STAFFBASE_ACTIONS_PRIVATE_KEY }} |