Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
siarheidudko committed Jan 31, 2024
1 parent 3bd70fb commit b233825
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ jobs:
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
12 changes: 6 additions & 6 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
- name: Сheckout repo
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 @@ -34,7 +34,7 @@ jobs:
- name: Run builder
run: npm run build
- name: Archiving lib directory
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lib
path: ${{ github.workspace }}/lib
Expand All @@ -53,11 +53,11 @@ jobs:
name: lib
path: ${{ github.workspace }}/lib
- 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 @@ -70,7 +70,7 @@ jobs:
- name: Install modules
run: npm ci
- 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
10 changes: 5 additions & 5 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
- name: Сheckout repo
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 @@ -34,7 +34,7 @@ jobs:
- name: Run builder
run: npm run build
- name: Archiving lib directory
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lib
path: ${{ github.workspace }}/lib
Expand All @@ -54,11 +54,11 @@ jobs:
# name: lib
# path: ${{ github.workspace }}/lib
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v3
# uses: actions/setup-node@v4
# with:
# node-version: ${{ matrix.node-version }}
# - name: Cache node modules
# uses: actions/cache@v3
# uses: actions/cache@v4
# env:
# cache-name: cache-node-modules
# with:
Expand Down

0 comments on commit b233825

Please sign in to comment.