Skip to content

Commit

Permalink
add generative integration tests Github action
Browse files Browse the repository at this point in the history
  • Loading branch information
YevhenCodes committed Aug 12, 2024
1 parent aa19a83 commit 5ba6833
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Run Vitest Tests

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-22.04

strategy:
matrix:
node-version: [20]

steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

- name: Run tests
run: pnpm run test

0 comments on commit 5ba6833

Please sign in to comment.