Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
52 changes: 33 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,37 @@
name: CI

on: [push]
on:
push:
pull_request:

jobs:
Build:
runs-on: ubuntu-latest
env:
CC: clang
CXX: clang++
npm_config_clang: 1
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- name: Install
run: |
npm install
- name: Test
run: |
npm run lint
npm run test
Build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
env:
CC: clang
CXX: clang++
npm_config_clang: 1
- os: windows-latest
env: {}
- os: macos-latest
env:
CC: clang
CXX: clang++
npm_config_clang: 1
env: ${{ matrix.env }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
name: Install Node
with:
node-version: 20
- name: Install module
run: |
npm run prepare
npm install
- name: Run tests
run: npm test
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- run: npm run prepare
- run: npm ci
- run: npm test

Expand All @@ -32,5 +33,6 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: https://registry.npmjs.org/
- run: npm run prepare
- run: npm ci
- run: npm publish --access public
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "deps/libgit2"]
path = deps/libgit2
url = https://github.com/libgit2/libgit2.git
ignore = untracked
Loading