1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 19:34:34 +00:00

chore(versioning): enabled semantic releases

This commit is contained in:
Yury Shkoda
2021-06-10 20:07:34 +03:00
parent 986a64621a
commit cb841ddcac
3 changed files with 115 additions and 16 deletions

22
.github/workflows/npmpublish.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: SASjs Server Deploy
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: npm ci
- name: Build Project
run: npm run build
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}