Skip to content

Commit

Permalink
Update GitHub Action to use Node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
cwparsons committed Jan 19, 2024
1 parent a95cd6f commit eb2dcf6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,32 @@
name: Deployment

on:
push:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v1

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install Packages
run: npm install

- name: Build page
run: npm run build

- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit eb2dcf6

Please sign in to comment.