Skip to content

Commit 722bbc8

Browse files
committed
test: add ci config
1 parent 6c53745 commit 722bbc8

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/webpack.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Webpack
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Use Node.js LTS
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 'lts/*'
20+
21+
- name: "Install dependencies"
22+
shell: bash
23+
run: |
24+
npm install
25+
26+
- name: "Install dependencies in the Webpack bundle test package"
27+
shell: bash
28+
working-directory: ./test/bundling/webpack
29+
run: |
30+
npm install
31+
32+
- name: "Install local kerberos into Webpack bundle test package"
33+
shell: bash
34+
working-directory: ./test/bundling/webpack
35+
run: |
36+
npm run install:kerberos
37+
38+
- name: "Run webpack build"
39+
shell: bash
40+
working-directory: ./test/bundling/webpack
41+
run: |
42+
npm run build

0 commit comments

Comments
 (0)