diff --git a/.github/workflows/gatsby-build.yml b/.github/workflows/gatsby-build.yml index bc6cddb..e77bb90 100644 --- a/.github/workflows/gatsby-build.yml +++ b/.github/workflows/gatsby-build.yml @@ -13,9 +13,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '12' + node-version-file: 'package.json' + cache: 'npm' - run: npm ci - run: npm run build --if-present \ No newline at end of file