2024.2.0-canary.12 #765
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: | |
paths-ignore: | |
- "**.md" | |
- "LICENSE" | |
- "NOTICE" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ["18", "20", "22"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- uses: pnpm/action-setup@v4 | |
- run: pnpm --version | |
- run: pnpm install | |
- run: pnpm run build | |
- run: pnpm run lint | |
- run: pnpm run check | |
- run: pnpm run test | |
- name: Slack Notification | |
if: failure() | |
uses: rtCamp/action-slack-notify@v2 | |
env: | |
SLACK_CHANNEL: sora-js-sdk | |
SLACK_COLOR: danger | |
SLACK_TITLE: Failure test | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} |