Skip to content

Commit

Permalink
Update test and publish workflow node and actions to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelCDL committed Aug 12, 2024
1 parent a11d6b1 commit 758dcff
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20.x'
cache: 'npm'
- name: Set Font Awesome token and dry run installation
run: |
Expand All @@ -33,11 +33,11 @@ jobs:
- name: Create build
run: npm run build
- name: Setup Pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v5
- name: Upload build
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: 'dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
24 changes: 12 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '20.x'
cache: 'npm'
- name: Set Font Awesome token and dry run installation
run: |
Expand All @@ -22,7 +22,7 @@ jobs:
- name: Create test build
run: npm run test-build
- name: Cache test build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: dist
key: run-id-${{ github.run_id }}
Expand All @@ -32,16 +32,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '20.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Retrieve cached test build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: dist
key: run-id-${{ github.run_id }}
Expand All @@ -53,16 +53,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '20.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Retrieve cached test build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: dist
key: run-id-${{ github.run_id }}
Expand Down

0 comments on commit 758dcff

Please sign in to comment.