Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI fix #88

Merged
merged 12 commits into from
Sep 20, 2024
29 changes: 15 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,31 @@ name: CI
on:
workflow_dispatch:
push:
branches: [ "master" ]
pull_request_target:
branches: [ "master" ]
branches: ["master"]
pull_request:
branches: ["master"]

jobs:
tests:
runs-on: self-hosted

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v3
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Check branch
run: git branch
- name: Use Node.js ${{ matrix.node-version }}

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 20
cache: "npm"

- name: Install Dependencies
run: npm install
run: |
npm --version
node --version
npm install

- name: Run Tests
run: npm test
run: npm run test
Loading