Skip to content

Commit 0b21bdb

Browse files
authored
Merge pull request #239 from oscard0m/add-gravity
add gravity
2 parents 7981b08 + 6941df4 commit 0b21bdb

File tree

5 files changed

+845
-33
lines changed

5 files changed

+845
-33
lines changed

.github/workflows/gravity.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request: {}
8+
9+
jobs:
10+
gravity:
11+
name: Gravity
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
- name: Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
registry-url: "https://registry.npmjs.org"
20+
- name: install dependencies
21+
run: npm ci
22+
- name: List files
23+
run: ls -la
24+
- name: Run Gravity
25+
run: npm run gravityci 'index.js' './dist/**/*' './lib/**/*'
26+
env:
27+
GRAVITY_TOKEN: ${{ secrets.GRAVITY_TOKEN }}

.github/workflows/release.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,6 @@ $RECYCLE.BIN/
125125
# Windows shortcuts
126126
*.lnk
127127

128-
# End of https://www.gitignore.io/api/macos,windows,linux,node
128+
# End of https://www.gitignore.io/api/macos,windows,linux,node
129+
130+
dist

0 commit comments

Comments
 (0)