Skip to content

test: Test action

test: Test action #16

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: |
printenv
npm run start
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
REPO_NAME: ${{ github.event.repository.name }}
INPUT_DOCS_GLOB: 'docs/description/*.md'