Skip to content

Commit 176d456

Browse files
authored
Add build for TypeScript Blob functions (#86)
1 parent 301e825 commit 176d456

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/typescript.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: 'TypeScript builds'
2+
on:
3+
pull_request:
4+
types: [opened, edited, synchronize, reopened]
5+
paths:
6+
- 'src/typescript/**'
7+
- '.github/workflows/typescript.yml'
8+
workflow_dispatch:
9+
10+
jobs:
11+
Application:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
node-version: [10.x, 12.x, 14.x]
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v2
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- name: 'Build Blob Function'
23+
shell: bash
24+
run: |
25+
pushd './src/typescript/AzureFunctions.Blob'
26+
npm ci
27+
npm run build --if-present
28+
popd

0 commit comments

Comments
 (0)