Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

chore(deps): update dependency nock to v13.5.3 (#74) #73

chore(deps): update dependency nock to v13.5.3 (#74)

chore(deps): update dependency nock to v13.5.3 (#74) #73

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 }}
- name: Configure Git User
run: |
git config --global user.email "ci@example.com"
git config --global user.name "Github Build"
- 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 }}