diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4d82de96..726e1032 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,13 +14,20 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 - - name: Setup Node + + - name: Setup Node.js uses: actions/setup-node@v1 with: node-version: "18.x" - - uses: pnpm/action-setup@v2 + + - name: Setup pnpm + uses: pnpm/action-setup@v2 with: version: 9 + + - name: Install dependencies + run: pnpm install + - name: Create Release Pull Request or Publish uses: changesets/action@v1 with: @@ -29,6 +36,7 @@ jobs: version: pnpm changeset version env: GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} + release-tag: name: Release pushed tag runs-on: ubuntu-latest @@ -36,7 +44,7 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - name: Create release + - name: Create GitHub Release env: VERSION: ${{ github.ref_name }} GH_TOKEN: ${{ github.token }}