Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
am2222 authored Mar 2, 2024
1 parent b6cd554 commit 8e4794b
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Use Node.js
- uses: actions/setup-node@v3
uses: actions/setup-node@v3
with:
node-version: 20.x
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
Expand All @@ -22,13 +22,10 @@ jobs:
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Create local changes
run: |
npm ci
npm test
npm run tsc --if-present
npm run publish:patch
- name: Commit files
run: |
npm ci
npm test
npm run tsc --if-present
npm run publish:patch
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -a -m "Build"
Expand Down

0 comments on commit 8e4794b

Please sign in to comment.