@devicefarmer/please-update-dependencies
Version:
It checks that currently installed dependencies satisfy the requirements set in your package.json file
25 lines (24 loc) • 535 B
YAML
version: v1.0
name: NPM Test
agent:
machine:
type: e1-standard-2
os_image: ubuntu2004
blocks:
- name: Test
task:
jobs:
- name: Test
commands:
- checkout
- sem-version node 22
- cache restore
- npm install
- cache store
- npm run build --if-present
- npm test
promotions:
- name: NPM publish
pipeline_file: publish.yml
auto_promote:
when: (branch = 'master' OR tag =~ '.*') AND result = 'passed'