Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
siarheidudko committed Aug 20, 2024
1 parent 10e89db commit 8d11ab5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- name: Сheckout repo
id: checkout_repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: "tmp"
ref: "main"
Expand All @@ -42,25 +42,25 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
env:
NODE_VERSION: 20
NODE_VERSION: 22
VERSION: ${{ needs.update.outputs.version }}
needs: [update]
if: ${{ needs.update.outputs.updated == 'true' }}
steps:
- name: Сheckout repo
id: checkout_repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: "main"
- name: Use Node.js ${{ env.NODE_VERSION }}
id: setup_node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: "https://registry.npmjs.org"
- name: Cache node modules
id: use_cache
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
env:
NODE_VERSION: 20
NODE_VERSION: 22
steps:
- name: Сheckout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Cache node modules
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand All @@ -42,7 +42,7 @@ jobs:
draft: false
prerelease: false
- name: Set registry npm packages
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org"
- name: Publish package to NPM
Expand Down

0 comments on commit 8d11ab5

Please sign in to comment.