Skip to content

added lint support and more github action tests #8

added lint support and more github action tests

added lint support and more github action tests #8

Workflow file for this run

name: graphql test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
supertest:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: tes using supertest
run: |
npm install
npm test:super
- name: tes using pactum
run: |
npm install
npm test:pactum
axios:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: tes using axios
run: |
npm install
npm test:axios
pactum:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: tes using pactum
run: |
npm install
npm test:pactum