Skip to content

Commit

Permalink
chore: update github actions version
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Sep 24, 2024
1 parent 44d8a9e commit 2e540b1
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ jobs:
contents: write
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
with:
ref: ${{ inputs.ref }}
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: |
npm i
- name: Build Action
run: |
npm run build
- name: Update dist
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git add ./dist &&
git commit -m "Update dist"
git push origin HEAD:${{ inputs.ref }}
- name: checkout repo
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
- uses: actions/setup-node@v4
with:
node-version: "18"
- name: Install dependencies
run: |
npm i
- name: Build Action
run: |
npm run build
- name: Update dist
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git add ./dist &&
git commit -m "Update dist"
git push origin HEAD:${{ inputs.ref }}
34 changes: 17 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ on:
branches:
- main
- master
- 'releases/*'
- "releases/*"

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
npm i
- run: |
Expand All @@ -20,7 +20,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
npm i
- run: |
Expand All @@ -29,24 +29,24 @@ jobs:
integrity:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Build action
run: |
npm i &&
npm run build
- name: Repository Integrity Check
run: |
git diff --quiet dist
- name: checkout repo
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18"
- name: Build action
run: |
npm i &&
npm run build
- name: Repository Integrity Check
run: |
git diff --quiet dist
automerge:
name: Automerge Dependabot PRs
if: >
github.event_name == 'pull_request' &&
github.event.pull_request.user.login == 'dependabot[bot]'
github.event_name == 'pull_request' &&
github.event.pull_request.user.login == 'dependabot[bot]'
needs:
- lint
- test
Expand Down

0 comments on commit 2e540b1

Please sign in to comment.