Skip to content

Merge pull request #14 from stoplightio/dependabot/npm_and_yarn/babel… #28

Merge pull request #14 from stoplightio/dependabot/npm_and_yarn/babel…

Merge pull request #14 from stoplightio/dependabot/npm_and_yarn/babel… #28

Workflow file for this run

name: Release npm package
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm test
- run: npm run type-check
- run: npm run build
- run: npx semantic-release --branches main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}