Update GitHub actions to v4

This commit is contained in:
Edward Dewhurst 2024-07-09 11:57:40 +01:00
parent 27d1392bda
commit 2eadfe5a02

View File

@ -20,12 +20,12 @@ jobs:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '18'
- name: Install library dependencies
run: npm install
@ -48,7 +48,7 @@ jobs:
run: npm run build:examples:site
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}