Skip to content

Commit 4c66b74

Browse files
Set up semaphore 2
1 parent eaba394 commit 4c66b74

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.semaphore/semaphore.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: v1.0
2+
name: Test
3+
agent:
4+
machine:
5+
type: e1-standard-2
6+
os_image: ubuntu1804
7+
blocks:
8+
- name: Test
9+
task:
10+
jobs:
11+
- name: Test
12+
commands:
13+
- checkout
14+
- sem-version node 14
15+
- cache restore npm-$(checksum package-lock.json)
16+
- npm ci
17+
- cache store npm-$(checksum package-lock.json) ~/.npm
18+
- npm test

0 commit comments

Comments
 (0)