diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 38850a7..2401d8d 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -32,13 +32,6 @@ jobs: echo "type=$VERSION_TYPE" >> $GITHUB_OUTPUT echo "Running a $VERSION_TYPE release" - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: "18.15" - cache: "yarn" - registry-url: "https://registry.npmjs.org" - - name: Configure git access uses: actions/create-github-app-token@v1 id: app-token @@ -58,6 +51,13 @@ jobs: git config user.name github-actions git config user.email github-actions@github.com + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: "18.15" + cache: "yarn" + registry-url: "https://registry.npmjs.org" + - name: Install dependencies run: yarn install --frozen-lockfile --non-interactive