Skip to content

Commit 2b9eeb0

Browse files
Merge pull request #18 from TwoStoryRobot/set-up-semaphore
Set up semaphore 2
2 parents eaba394 + 4c66b74 commit 2b9eeb0

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)