Skip to content

Merge pull request #77 from ubud-app/dependabot/npm_and_yarn/multi-2c… #81

Merge pull request #77 from ubud-app/dependabot/npm_and_yarn/multi-2c…

Merge pull request #77 from ubud-app/dependabot/npm_and_yarn/multi-2c… #81

Workflow file for this run

name: Release
on:
push:
branches:
- develop
- master
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm run check
release:
runs-on: ubuntu-latest
needs: [check]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '20'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- name: semantic-release
run: npx semantic-release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
WEBHOOK_SECRET: ${{ secrets.WEBHOOK_SECRET }}