added api.js #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuos Integration | ||
on: pull_request | ||
jobs: | ||
continous-integration: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: action/checkout@v4 | ||
with: | ||
ref: react-testing | ||
- uses: actions/checkout@v4 | ||
- name: use Node.JS | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 21.x | ||
- name: run, install and test | ||
run: | | ||
npm install | ||
npm run build | ||
npm run test |