diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..9d1a4953 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,32 @@ +name: Release + +on: + push: + branches: [develop] + +concurrency: ${{ github.workflow }}-${{ github.ref }} + +jobs: + release: + name: Release + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v3 + + - name: Setup Node.js 18 + uses: actions/setup-node@v3 + with: + node-version: 18 + + - name: Install Dependencies + run: npm i + + - name: Create Release Pull Request + uses: changesets/action@v1 + with: + commit: 'chore: release package(s)' + title: 'chore: release package(s)' + version: npm run changeset-version + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/run-security.yml b/.github/workflows/run-security.yml index 44947469..0cb10b8f 100644 --- a/.github/workflows/run-security.yml +++ b/.github/workflows/run-security.yml @@ -2,9 +2,9 @@ name: Security Check on: push: - branches: [master] + branches: [develop, master] pull_request: - branches: [master] + branches: [develop, master] jobs: security: diff --git a/.github/workflows/run-test.yml b/.github/workflows/run-test.yml index 70ebee66..ca0b0add 100644 --- a/.github/workflows/run-test.yml +++ b/.github/workflows/run-test.yml @@ -2,9 +2,9 @@ name: Tests on: push: - branches: [master] + branches: [develop, master] pull_request: - branches: [master] + branches: [develop, master] jobs: build: