Skip to content

test: Test action

test: Test action #5

Workflow file for this run

name: Generate doc patterns
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Build the script
run: |
npm install
npm run build
- name: Run the script
run: node dist/main.js
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}