Skip to content

Commit

Permalink
(#47) Added branch builds
Browse files Browse the repository at this point in the history
  • Loading branch information
svettwer committed Jul 27, 2020
1 parent 19fdaa5 commit 84ed5b4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: build

on:
push:
branches: *

jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/setup-node@v1.4.2
with:
node-version: '12'
- 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 "::set-env name=SAKULI_VERSION::next"
- name: Build and test image
run: |
export PATH=$PATH:$HOME
./build-latest.sh $SAKULI_VERSION ${{ secrets.NPM_TOKEN }} ${{ secrets.NODE_VERSION }}
env:
SAKULI_LICENSE_KEY: ${{ secrets.SAKULI_LICENSE_KEY }}

0 comments on commit 84ed5b4

Please sign in to comment.