Skip to content

Commit 2ac8de3

Browse files
committed
github actions npm
1 parent 7d9b707 commit 2ac8de3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/docker-image.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@ on:
55
- release/*
66

77
jobs:
8+
9+
npm_test:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v2-beta
17+
with:
18+
node-version: '12'
19+
check-latest: true
20+
- name: Install NPM dependencies
21+
run: npm ci
22+
- name: Test NPM compilation
23+
run: npm run prod
24+
825
php_db_test:
926
runs-on: ubuntu-latest
1027
container:

0 commit comments

Comments
 (0)