Skip to content

fix: set different user to reproduce npm cache error #164

fix: set different user to reproduce npm cache error

fix: set different user to reproduce npm cache error #164

Workflow file for this run

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 }}