Skip to content

Commit

Permalink
Setting up next branch for testing next releases
Browse files Browse the repository at this point in the history
  • Loading branch information
tibuurcio committed Feb 6, 2024
1 parent 0dc53f9 commit 73064ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,9 @@ on:
workflow_dispatch:

jobs:
# release is done from main branch.
confirm-public-repo-main-branch:
name: 'Confirm release is run from public/main branch'
uses: mParticle/mparticle-workflows/.github/workflows/sdk-release-repo-branch-check.yml@main

release:
name: Perform Release
runs-on: ubuntu-latest
needs: confirm-public-repo-main-branch

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -23,11 +17,10 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

steps:
- name: Checkout public main branch
- name: Checkout public branch
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main

- name: Import GPG Key
uses: crazy-max/ghaction-import-gpg@v4
Expand All @@ -39,10 +32,15 @@ jobs:

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'

- name: Install dependencies
run: npm ci

- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures

- name: Build dist
run: npm run build-dist

Expand Down
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
branches: ['main'],
branches: ['main', 'next'],
tagFormat: 'v${version}',
repositoryUrl: 'https://github.com/mParticle/aquarium',
plugins: [
Expand Down

0 comments on commit 73064ea

Please sign in to comment.