Skip to content

Commit 24159d5

Browse files
committed
Add build workflow
1 parent 6bde954 commit 24159d5

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/build.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build with NodeJS and Webpack
2+
3+
on:
4+
push:
5+
branches: ['master', 'dev']
6+
pull_request:
7+
branches: ['master', 'dev']
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- name: Use Node.js
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: lts/*
20+
21+
- name: Build
22+
run: |
23+
npm install
24+
npm run build
25+
26+
- name: Archive artifacts
27+
uses: actions/upload-artifact@v3
28+
with:
29+
name: jira-automation-extension
30+
path: |
31+
dist/**/*.*

0 commit comments

Comments
 (0)