Skip to content

Hosted action

Hosted action #121

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