Skip to content

Commit

Permalink
Fix broken hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabau committed Oct 5, 2024
1 parent 8805ffd commit f6f6f96
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,25 @@ on:
branches: ["master", "react-switch"]
jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v2-beta
with:
node-version: '12'
working-directory: "./gabau.github.io"
- name: Get npm cache directory
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
working-directory: "./gabau.github.io"
- uses: actions/cache@v1
- uses: actions/cache@v4
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
working-directory: "./gabau.github.io"
- name: Grab dependencies
run: npm install && npm run build && mv ./dist ../
working-directory: "./gabau.github.io"
Expand Down

0 comments on commit f6f6f96

Please sign in to comment.