Skip to content

SK-1621: node sdk v2 #290

SK-1621: node sdk v2

SK-1621: node sdk v2 #290

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
- 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
with:
node-version: 14.17.6
- 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