diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2a8a41b..ff598a8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,11 +8,16 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Use Node.js 16.x + uses: actions/setup-node@v2 + with: + node-version: 16 - run: npm ci - run: npm i -g vsce - run: npm prune --production - run: npm run publish -- -p $VSCODE_MARKETPLACE_TOKEN env: - VSCODE_MARKETPLACE_TOKEN: ${{secrets.VSCODE_MARKETPLACE_TOKEN}} \ No newline at end of file + VSCODE_MARKETPLACE_TOKEN: ${{secrets.VSCODE_MARKETPLACE_TOKEN}}