Skip to content

Commit c09a979

Browse files
committed
build: update build tools
1 parent af4a324 commit c09a979

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/workflows/npm.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: NPM Installation
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- "dependabot/**"
7+
pull_request:
8+
workflow_dispatch:
9+
10+
env:
11+
FORCE_COLOR: 2
12+
NODE: 16
13+
14+
jobs:
15+
run:
16+
name: JS Tests
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Clone repository
21+
uses: actions/checkout@v3
22+
23+
- name: Set up Node.js
24+
uses: actions/setup-node@v3
25+
with:
26+
node-version: ${{ env.NODE }}
27+
cache: npm
28+
29+
- name: Install npm dependencies
30+
run: npm ci
31+
32+
- name: Run build
33+
run: npm run build

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# dependencies
44
/node_modules
55
package-lock.json
6+
yarn.lock
67

78
# testing
89
/coverage

0 commit comments

Comments
 (0)