Skip to content

chore(deps): reconfigure semantic-release 24.2.7 #12

chore(deps): reconfigure semantic-release 24.2.7

chore(deps): reconfigure semantic-release 24.2.7 #12

Workflow file for this run

name: Test and Release (if master)
on: push
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm test
- name: Release to npm registry
# only release from the master branch in parent repository, not in a fork
if: (github.ref == 'refs/heads/master') &&
(github.repository == 'cypress-io/commit-info')
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}