Skip to content

feat: Add notification_created when create_notification_activity is s… #873

feat: Add notification_created when create_notification_activity is s…

feat: Add notification_created when create_notification_activity is s… #873

Workflow file for this run

name: Lint and test
env:
VITE_STREAM_API_KEY: ${{ vars.CLIENT_TEST_API_KEY }}
VITE_STREAM_API_SECRET: ${{ secrets.CLIENT_TEST_SECRET }}
VITE_API_URL: ${{ vars.CLIENT_TEST_API_URL }}
on:
push:
branches:
- main
pull_request:
types: [opened, edited, synchronize, reopened]
jobs:
lint-and-test:
timeout-minutes: 30
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install Dependencies
run: yarn install --immutable
- name: Lint Packages
run: yarn lint:all
- name: Build packages
run: NODE_ENV=production yarn build:libs
- name: Test packages
run: yarn test:ci:libs
- name: Deploy React tutorial to Vercel
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ vars.VERCEL_PROJECT_ID }}
VITE_API_KEY: ${{ vars.REACT_TUTORIAL_API_KEY }}
VITE_TOKEN_URL: ${{ vars.REACT_TUTORIAL_TOKEN_URL }}
run: >
yarn vercel pull --yes --environment=${{ github.ref == 'refs/heads/main' && 'production' || 'preview' }} --token=${{ secrets.VERCEL_TOKEN }} &&
yarn vercel build ${{ github.ref == 'refs/heads/main' && '--prod' || '' }} --token=${{ secrets.VERCEL_TOKEN }} &&
yarn vercel deploy ${{ github.ref == 'refs/heads/main' && '--prod' || '' }} --prebuilt --token=${{ secrets.VERCEL_TOKEN }}