Skip to content

Commit

Permalink
Add nodegit (#304)
Browse files Browse the repository at this point in the history
* Multi-commit file updates

* Reorder so that if it fails, it duplicates instead of deleting

* Add nodegit
  • Loading branch information
Pandapip1 authored Jul 22, 2023
1 parent fc4e692 commit b9fba33
Show file tree
Hide file tree
Showing 4 changed files with 2,549 additions and 7 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,25 @@ jobs:
- name: Setup
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 16

- name: Install
node-version: 18.x

- name: Cache node_modules
id: cache-npm-packages
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
env:
cache-name: cache-node_modules
with:
path: node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }}

- name: Install apt packages
if: ${{ steps.cache-npm-packages.outputs.cache-hit != 'true' }}
run: |
sudo apt-get update -y
sudo apt-get install -y libkrb5-dev
- name: Install Dependencies
if: ${{ steps.cache-npm-packages.outputs.cache-hit != 'true' }}
run: npm ci

- name: Build
Expand Down
22 changes: 19 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,25 @@ jobs:

- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 16

- name: Install
node-version: 18.x

- name: Cache node_modules
id: cache-npm-packages
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
env:
cache-name: cache-node_modules
with:
path: node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }}

- name: Install apt packages
if: ${{ steps.cache-npm-packages.outputs.cache-hit != 'true' }}
run: |
sudo apt-get update -y
sudo apt-get install -y libkrb5-dev
- name: Install Dependencies
if: ${{ steps.cache-npm-packages.outputs.cache-hit != 'true' }}
run: npm ci

- name: Build
Expand Down
Loading

0 comments on commit b9fba33

Please sign in to comment.