DEX-413 feat: added SDK references generation code #214
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches: | |
- master | |
- release/* | |
jobs: | |
check-commit-message: | |
name: Check Commit Message | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check JIRA ID | |
uses: gsactions/commit-message-checker@v1 | |
with: | |
pattern: '(\[?[A-Z]{1,5}-[1-9][0-9]*)|(\[AUTOMATED\])|(Merge)|(Release).+$' | |
flags: 'gm' | |
excludeDescription: 'true' | |
checkAllCommitMessages: 'true' | |
accessToken: ${{ secrets.PAT_ACTIONS }} | |
error: 'One of your your commit messages is not matching the format with JIRA ID Ex: ( SDK-123 commit message )' | |
ci-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
- name: install modules | |
run: npm install | |
- name: Run tests | |
env: | |
SA_WITHOUT_CONTEXT: ${{ secrets.SA_WITHOUT_CONTEXT }} | |
SIGNED_TOKEN_SA: ${{ secrets.SIGNED_TOKEN_SA }} | |
run: npm run test | |
- name: Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_REPO_UPLOAD_TOKEN }} | |
files: coverage/lcov.info | |
name: codecov-skyflow-node | |
verbose: true | |
- name: Build | |
run: npm run build |