diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e1e7f8e..fb14c88 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,21 +12,21 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18] + node-version: [20] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - run: git tag ${{ github.event.inputs.tag }} - name: Setup pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: - version: 8.x + version: 10 - name: Setup Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: "pnpm" @@ -34,7 +34,7 @@ jobs: - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ">=1.21.3" @@ -43,7 +43,7 @@ jobs: - name: Tidy modules run: go mod tidy - + - name: Run tests run: go test ./... diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ae49466..1311d6f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,18 +15,18 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [ 18 ] + node-version: [ 20 ] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: - version: 8.x + version: 10 - name: Setup Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: "pnpm" @@ -36,7 +36,7 @@ jobs: run: pnpm --dir=./ui install && pnpm --dir=./ui build - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ">=1.21.3" @@ -50,7 +50,7 @@ jobs: run: go tool cover -html=coverage.csv -o coverage.html - name: Upload coverage report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage.html path: coverage.html