From 430394608e940dcbb2728d31cf9ccca71aa967ae Mon Sep 17 00:00:00 2001 From: "chao.guo" Date: Tue, 30 Jan 2024 13:22:07 -0800 Subject: [PATCH] feat: set up git action --- .github/workflows/publish-pnpm-sync-package.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-pnpm-sync-package.yml b/.github/workflows/publish-pnpm-sync-package.yml index 78dd4d0..fa9b52b 100644 --- a/.github/workflows/publish-pnpm-sync-package.yml +++ b/.github/workflows/publish-pnpm-sync-package.yml @@ -13,10 +13,10 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20.11.0 - uses: pnpm/action-setup@v2 - with: - version: 8 + with: + version: 8.15.1 - run: pnpm --filter pnpm-sync run build - run: pnpm --filter pnpm-sync run test @@ -27,11 +27,11 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20.11.0 registry-url: https://registry.npmjs.org/ - uses: pnpm/action-setup@v2 - with: - version: 8 + with: + version: 8.15.1 - run: pnpm --filter pnpm-sync publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}