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.
32 lines
648 B
32 lines
648 B
---
|
|
resources:
|
|
- name: nodejs.org-git
|
|
type: git
|
|
icon: github
|
|
source:
|
|
uri: https://github.com/nodejs/nodejs.org.git
|
|
|
|
jobs:
|
|
- name: test
|
|
public: true
|
|
plan:
|
|
- get: nodejs.org-git
|
|
trigger: true
|
|
- task: run-tests
|
|
config:
|
|
platform: linux
|
|
image_resource:
|
|
type: registry-image
|
|
source: { repository: node }
|
|
inputs:
|
|
- name: nodejs.org-git
|
|
run:
|
|
path: /bin/sh
|
|
args:
|
|
- -c
|
|
- |
|
|
echo "Node Version: $(node --version)"
|
|
echo "NPM Version: $(npm --version)"
|
|
cd nodejs.org-git
|
|
npm install
|
|
npm test
|