diff --git a/.github/publish.yml b/.github/workflows/publish.yml similarity index 87% rename from .github/publish.yml rename to .github/workflows/publish.yml index 9e29683..382f44a 100644 --- a/.github/publish.yml +++ b/.github/workflows/publish.yml @@ -12,19 +12,21 @@ jobs: steps: # Use github actions default to checkout corresponding branch - uses: actions/checkout@v2 + with: + fetch-depth: 0 # Use github actions to install node at least 14 version - - name: Setup node - uses: actions/setup-node@v2 + - name: Set node version to 20 + uses: actions/setup-node@v4 with: - node-version: '14' + node-version: 20 registry-url: 'https://registry.npmjs.org' # Use github actions to install pnpm at least 6 version - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: - version: 6 + version: 9 # Install dependencies - name: Install dependencies