diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 3745266..7b90a92 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -36,9 +36,13 @@ jobs: needs: update_changelog_and_sync_package_lock_version steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Remove branch 'latest' continue-on-error: true - run: git push origin :latest + run: | + git branch -d latest || true + git push origin :latest - name: Create the new 'latest' branch run: | git branch latest diff --git a/.github/workflows/template_initialization.yaml b/.github/workflows/template_initialization.yaml index 2f69c66..f3c66cb 100644 --- a/.github/workflows/template_initialization.yaml +++ b/.github/workflows/template_initialization.yaml @@ -47,13 +47,6 @@ jobs: USER_OR_ORG: ${{ github.repository_owner }} DESC: ${{ github.event.repository.description }} REPO_NAME_NO_DASHES: ${{ steps.id2.outputs.replace_resultĀ }} - - uses: actions/setup-node@v1 - - name: Update pre-configured dev dependencies - run: | - npm install --save-dev denoify - npm install --save-dev typescript - npm install --save-dev evt - rm package-lock.json - name: Remove this workflow, it only needs to be run once. run: rm .github/workflows/template_initialization.yaml - name: Commit files diff --git a/package.json b/package.json index e41ab4c..c0d264f 100755 --- a/package.json +++ b/package.json @@ -37,9 +37,9 @@ "devDependencies": { "typescript": "^3.9.0", "@types/node": "^10.0.0", - "denoify": "0.2.3", - "evt": "~1.6.8", - "simplifyify": "^8.0.1", - "terser": "^4.6.10" + "denoify": "0.2.5", + "evt": "1.6.8", + "simplifyify": "8.0.1", + "terser": "4.6.13" } }