diff --git a/.github/workflows/push-action.yml b/.github/workflows/push-action.yml index af1f9e4..4d9a59a 100644 --- a/.github/workflows/push-action.yml +++ b/.github/workflows/push-action.yml @@ -10,34 +10,14 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - # Read the pnpm version from the `.pnpmrc` file - - name: Read .pnpmrc - id: pnpm_version - uses: juliangruber/read-file-action@v1 - with: - path: ./.pnpmrc - - - name: Cache PNPM modules - uses: actions/cache@v3 - with: - path: ~/.pnpm-store - key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: ${{ runner.os }}- - - - uses: pnpm/action-setup@v2.2.2 - with: - version: '${{ steps.pnpm_version.outputs.content }}' - - # Read node version from `.nvmrc` file - - id: nvmrc - uses: browniebroke/read-nvmrc-action@v1 + # setups pnpm + - uses: pnpm/action-setup@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - # use the output from the action - node-version: '${{ steps.nvmrc.outputs.node_version }}' + node-version: 22 - name: Install `node_modules` run: pnpm install @@ -49,7 +29,7 @@ jobs: run: pnpm build - name: Deploy - uses: JamesIves/github-pages-deploy-action@v4.3.3 + uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages folder: dist \ No newline at end of file diff --git a/.pnpmrc b/.pnpmrc deleted file mode 100644 index 3edbce7..0000000 --- a/.pnpmrc +++ /dev/null @@ -1 +0,0 @@ -8.6.1 \ No newline at end of file diff --git a/package.json b/package.json index 134bc99..d0a7295 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,7 @@ "name": "Daniel Turcich", "url": "https://danielTurcich.com" }, - "engines": { - "pnpm": ">=9.10.0" - }, - "engineStrict": true, + "packageManager": "pnpm@9.11.0", "scripts": { "dev": "vite", "dev:network": "vite --host",