Remove type grouping in renovate config (#190) #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- main | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
registry-url: "https://registry.npmjs.org" | |
cache: "pnpm" # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies | |
- name: Install Dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Copy schema files | |
run: pnpm run copy-schema-files | |
- name: Get version to be published | |
run: | | |
cd packages/admin | |
echo "PUBLISHED_VERSION=$(pnpm pkg get version | sed -r 's/"//g')" >> $GITHUB_ENV | |
- name: Create Release Pull Request or Publish to npm | |
id: changesets | |
uses: dotansimha/changesets-action@cbc5ff3569ae9861100a48b290f4e9c1b94e45b5 | |
with: | |
version: pnpm run version | |
publish: pnpm run publish | |
createGithubReleases: aggregate | |
githubReleaseName: "${{ env.PUBLISHED_VERSION }}" | |
githubTagName: "v${{ env.PUBLISHED_VERSION }}" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
HUSKY: 0 # https://typicode.github.io/husky/#/?id=with-env-variables |