This commit is contained in:
parent
514488e20e
commit
ee2a75c4df
@ -1,16 +1,18 @@
|
|||||||
|
# Run pipeline on pushes to main
|
||||||
|
when:
|
||||||
|
event: push
|
||||||
|
branch: main
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: install
|
||||||
image: debian
|
image: node:18-alpine
|
||||||
commands:
|
commands:
|
||||||
- echo "This is the build step"
|
- echo "🔧 Installing dependencies..."
|
||||||
- echo "binary-data-123" > executable
|
- npm install
|
||||||
- chmod +x executable
|
|
||||||
|
|
||||||
- name: a-test-step
|
- name: test
|
||||||
image: golang:1.16
|
image: node:18-alpine
|
||||||
commands:
|
commands:
|
||||||
- echo "Testing ..."
|
- echo "🧪 Running tests..."
|
||||||
- ls -l
|
- npm test
|
||||||
- cat executable || echo "File missing!"
|
|
||||||
- ./executable
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user