You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
819 B
34 lines
819 B
---
|
|
resources:
|
|
- name: baphomet-js-git
|
|
type: git
|
|
icon: git
|
|
source:
|
|
uri: ssh://git@git.nulloctet.com:8437/warricksothr/basphomet-js.git
|
|
private_key: |
|
|
((pull_key))
|
|
|
|
jobs:
|
|
- name: test
|
|
public: true
|
|
plan:
|
|
- get: baphomet-js-git
|
|
trigger: true
|
|
- task: run-tests
|
|
config:
|
|
platform: linux
|
|
image_resource:
|
|
type: registry-image
|
|
source: { repository: node, tag: "13" }
|
|
inputs:
|
|
- name: baphomet-js-git
|
|
run:
|
|
path: /bin/sh
|
|
args:
|
|
- -c
|
|
- |
|
|
echo "Node Version: $(node --version)"
|
|
echo "NPM Version: $(npm --version)"
|
|
cd baphomet-js-git
|
|
npm install
|
|
npm test
|