Skip to content

fix: match should enforce array input (#835) #442

fix: match should enforce array input (#835)

fix: match should enforce array input (#835) #442

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@v3
with:
token: ${{ secrets.ADOBE_BOT_GITHUB_TOKEN }}
fetch-depth: 0
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Authenticate with Registry
run: |
echo "registry=https://registry.npmjs.org/" > .npmrc
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
npm whoami
env:
NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}
- run: npm install
- run: npm run lint
- run: npm test
- run: npm run semantic-release
env:
GH_TOKEN: ${{ secrets.ADOBE_BOT_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}