Skip to content

Commit 1a6a5aa

Browse files
committed
fixed workflows
Signed-off-by: Utkarsh Srivastava <srivastavautkarsh8097@gmail.com>
1 parent fbcbfc0 commit 1a6a5aa

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/nodejs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@ jobs:
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424
- name: Install Dependencies
25-
- run: npm ci
25+
run: npm ci
2626

2727
- name: Build NodeJS Snowflake
28-
- run: npm run build
28+
run: npm run build
2929

3030
- name: Run Tests
31-
- run: npm t
31+
run: npm t
3232

3333
- name: Publish artifacts on Github
34-
- run: |
34+
run: |
3535
npm i -g prebuild
3636
prebuild --all -r napi -u ${{ secrets.GITHUB_TOKEN }} --strip
3737
3838
- name: Publish Package to NPM
39-
- uses: JS-DevTools/npm-publish@v1
39+
uses: JS-DevTools/npm-publish@v1
4040
with:
4141
token: ${{ secrets.NPM_TOKEN }}
4242
tag: ${GITHUB_REF##*/}

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424
- name: Install Dependencies
25-
- run: npm ci
25+
run: npm ci
2626

2727
- name: Build NodeJS Snowflake
28-
- run: npm run build
28+
run: npm run build
2929

3030
- name: Run Tests
31-
- run: npm t
31+
run: npm t

0 commit comments

Comments
 (0)