-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 997 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: build
on:
push:
branches-ignore:
- 'master'
- 'develop'
pull_request:
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: '16'
- name: Install goss and dgoss
run: |
curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o $HOME/goss
chmod +rx $HOME/goss
curl -L https://github.com/aelsabbahy/goss/releases/latest/download/dgoss -o $HOME/dgoss
chmod +rx $HOME/dgoss
- name: Set SAKULI_VERSION to next
run: echo "SAKULI_VERSION=next" >> $GITHUB_ENV
- name: Add HOME directory to PATH
run: echo "$HOME" >> $GITHUB_PATH
- name: Build and test image
run: |
./build-base.sh
./build-latest.sh $SAKULI_VERSION ${{ secrets.NPM_TOKEN }}