Implement billing charges API #275
Workflow file for this run
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: | |
push: | |
branches: [ main ] | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
markdownlint-cli: | |
name: Lint markdown | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Run markdownlint-cli | |
uses: nosborn/[email protected] | |
with: | |
files: . | |
config_file: ".markdownlint.yaml" | |
test: | |
needs: [markdownlint-cli] | |
runs-on: ubuntu-latest | |
name: Node.js ${{ matrix.node-version }} | |
strategy: | |
matrix: | |
node-version: [14.x, 16.x, 18.x, 19.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm i | |
- run: npm run build | |
- run: npm run format-check | |
- run: npm test | |
slack-workflow-status: | |
if: always() | |
name: Post Workflow Status To Slack | |
needs: | |
- test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Slack Workflow Notification | |
uses: Gamesight/slack-workflow-status@master | |
with: | |
repo_token: ${{secrets.GITHUB_TOKEN}} | |
slack_webhook_url: ${{secrets.SLACK_WEBHOOK_URL_DEVELOPMENT}} |