Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-carvalho authored Sep 10, 2023
1 parent 1512bd5 commit 54d3363
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,14 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '16' ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci
- run: npm run build

- name: Auto Merge Dependabot PRs
run: |
if [[ "${{ github.actor }}" == 'dependabot[bot]' || "${{ github.actor }}" == 'dependabot-preview[bot]' ]]; then
if [[ "${{ github.actor }}" == 'dependabot[bot]' ]]; then
gh pr merge "${{ github.event.pull_request.number }}" --auto --squash
fi
env:
Expand Down

0 comments on commit 54d3363

Please sign in to comment.