Skip to content

fixed package.json

fixed package.json #3

Workflow file for this run

name: Release SBT AWS Descope Plugin
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
- name: Bump version and generate changelog
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npx standard-version --release-as minor # or major/patch as needed
git push --follow-tags
- name: Publish to npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish