Skip to content

build(gha): update matrix test #31

build(gha): update matrix test

build(gha): update matrix test #31

Workflow file for this run

name: 'Publish new release 🚀'
on:
push:
branches:
- main
concurrency:
group: '${{ github.workflow }}-${{ github.ref_name }}'
cancel-in-progress: true
jobs:
test:
uses: ./.github/workflows/test.yml
secrets: inherit
release:
needs: test
runs-on: ubuntu-22.04
steps:
- uses: myparcelnl/actions/setup-git-credentials@v4
id: credentials
with:
app-id: ${{ secrets.MYPARCEL_APP_ID }}
private-key: ${{ secrets.MYPARCEL_APP_PRIVATE_KEY }}
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
token: ${{ steps.credentials.outputs.token }}
- uses: myparcelnl/actions/yarn-install@v4
- uses: ./.github/actions/build
- uses: myparcelnl/actions/semantic-release@v4
with:
token: ${{ steps.credentials.outputs.token }}
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
rebase-prs:
needs: release
if: always()
runs-on: ubuntu-22.04
steps:
- uses: myparcelnl/actions/rebase-prs@v4
with:
app-id: ${{ secrets.MYPARCEL_APP_ID }}
private-key: ${{ secrets.MYPARCEL_APP_PRIVATE_KEY }}
base: ${{ github.ref_name }}
exclude-drafts: true
exclude-labels: 'dependencies'