diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 08d59bd6..21eae0b2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,31 +7,32 @@ on: jobs: release: - name: Publish & Deploy + name: Publish & deploy runs-on: ubuntu-latest env: CI: true steps: - - uses: pnpm/action-setup@v2.0.1 + - uses: pnpm/action-setup@v2.2.2 with: - version: 7.9.5 + version: 7.8.0 - - name: Checkout Repo + - name: Checkout repo uses: actions/checkout@main with: + # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} - - name: Setup Node.js + - name: Setup node.js 16.x uses: actions/setup-node@main with: - node-version-file: '.nvmrc' + node-version: 16.x cache: 'pnpm' - - name: Install Dependencies + - name: Install dependencies run: pnpm install - - name: Create release PR or publish to npm + - name: Create release pull request or publish to npm uses: changesets/action@c2918239208f2162b9d27a87f491375c51592434 with: version: pnpm run ci:version