From e3f40379b5a1a5d705cb92f372d49c91962c9bea Mon Sep 17 00:00:00 2001 From: David ALLIX Date: Tue, 15 Oct 2024 19:40:52 +0200 Subject: [PATCH] Fix --- .github/workflows/ci.yml | 4 ++-- .github/workflows/publish.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01a259a..7a7e18e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: '22' + node-version-file: .nvmrc - name: Install pnpm uses: pnpm/action-setup@v4 with: @@ -22,6 +22,6 @@ jobs: - name: Install dependencies run: pnpm install - name: Run Biome - run: pnpm run biome + run: pnpm biome - name: Run tests run: pnpm test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 94cf322..be16647 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,14 +26,14 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 22 + node-version-file: .nvmrc registry-url: https://registry.npmjs.org/ - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: version: 8 - run: pnpm install - - run: pnpm run build + - run: pnpm build - run: pnpm publish env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}