Skip to content

chore: update ci.yaml to use github hosted actions and added logs for… #123

chore: update ci.yaml to use github hosted actions and added logs for…

chore: update ci.yaml to use github hosted actions and added logs for… #123

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
- name: Install Dependencies
run: |
npm --version
node --version
npm install
- name: Run Tests
run: npm run test