diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index c1190a0..5e52281 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -22,26 +22,26 @@ jobs: matrix: node-version: [22] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Install pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ matrix.node-version }} cache: "pnpm" - name: Install dependencies - run: pnpm install + run: pnpm install --frozen-lockfile - name: Gather lint results run: pnpm run lint:report continue-on-error: true - name: Upload lint results - uses: ataylorme/eslint-annotate-action@v3 + uses: ataylorme/eslint-annotate-action@d57a1193d4c59cbfbf3f86c271f42612f9dbd9e9 # 3.0.0 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} report-json: "eslint_report.json" diff --git a/.github/workflows/nuxt-deploy.yml b/.github/workflows/nuxt-deploy.yml index 859ca91..3c06ef8 100644 --- a/.github/workflows/nuxt-deploy.yml +++ b/.github/workflows/nuxt-deploy.yml @@ -12,18 +12,18 @@ jobs: matrix: node-version: [22] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - name: Install pnpm - uses: pnpm/action-setup@v4 + uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version: ${{ matrix.node-version }} cache: "pnpm" - - run: pnpm install - - run: NUXT_APP_BASE_URL=/web/ pnpm dlx nuxt build --preset github_pages + - run: pnpm install --frozen-lockfile + - run: NUXT_APP_BASE_URL=/web/ pnpm exec nuxt build --preset github_pages - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 with: path: ./.output/public # Deployment job @@ -43,4 +43,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0