We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5875213 commit 8b6ad98Copy full SHA for 8b6ad98
.github/workflows/main.yml
@@ -0,0 +1,25 @@
1
+name: Functionly build and publish
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ permissions:
10
+ contents: write
11
+ steps:
12
+ - uses: actions/checkout@v3
13
+ - name: Set up Docker
14
+ uses: docker/setup-buildx-action@v1
15
+ - name: Build and Test with Coverage
16
+ run: |
17
+ docker run --rm \
18
+ -e PROPERTIES="BUILD_ID:${{ github.run_number }}" \
19
+ -w "/app" \
20
+ -v $PWD:/app \
21
+ node:8 bash -c "\
22
+ npm i --no-save -q; \
23
+ npm run build; \
24
+ npm run coverage -- --reporter mocha-junit-reporter; \
25
+ chown -R $(id -u):$(id -g) ."
0 commit comments