Skip to content

docs: replace Helix with AEM (#2254) #648

docs: replace Helix with AEM (#2254)

docs: replace Helix with AEM (#2254) #648

name: Semantic Release
on:
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: npm install
- run: git config --global user.email "[email protected]" && git config --global user.name "Test Build"
- run: git config --global protocol.file.allow always
- run: npm test
env:
CIRCLE_REPOSITORY_URL: dummy-url
build_win:
runs-on: windows-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: npm install
- run: git config --global user.email "[email protected]" && git config --global user.name "Test Build"
- run: git config --global protocol.file.allow always
- run: npm run test-ci-win
env:
CIRCLE_REPOSITORY_URL: dummy-url
release:
runs-on: ubuntu-latest
needs: [build, build_win]
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
with:
persist-credentials: false
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: npm install
- run: npm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}