Skip to content

Don't skip seen and unflagged for Slack #34

Don't skip seen and unflagged for Slack

Don't skip seen and unflagged for Slack #34

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
environment: test
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: false
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Run tests
env:
NOSTR_PRIVATE_KEY: ${{ secrets.NOSTR_PRIVATE_KEY }}
OPENAI_API_CSV: anyvalueworksformockedtests
SLACK_TOKEN: something
CHANNEL_ID: something
run: pnpm test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
file: ./coverage/lcov.info
fail_ci_if_error: true