Skip to content

Commit

Permalink
Update Github Action Versions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderson1993 committed Jan 31, 2024
1 parent 792ad99 commit 967caa4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Dependencies
Expand All @@ -23,17 +23,17 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
- name: Archive production artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
- name: Archive other artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: desktop
path: desktop
- name: Archive package.json
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: package
path: package.json
Expand All @@ -46,27 +46,27 @@ jobs:

steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{env.GITHUB_REF}}
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
uses: actions/setup-node@4
with:
node-version: 18
- name: Download production artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist
path: dist
- name: Download other artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: desktop
path: desktop
- name: Remove old package.json
run: rm package.json
- name: Download package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: package
path: "."
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 18
- name: Install Dependencies
run: npm install
- name: Lint
Expand Down

0 comments on commit 967caa4

Please sign in to comment.