Skip to content

Commit 65065a3

Browse files
authored
[SDK-2825] Update circleci config (#55)
1 parent 9f61a74 commit 65065a3

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.circleci/config.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Common Logic
2+
machine: &machine-cfg
3+
image: ubuntu-2004:202107-02
4+
25
defaults: &defaults
36
steps:
47
- attach_workspace:
@@ -38,27 +41,30 @@ defaults: &defaults
3841
npm install
3942
- run:
4043
name: Execute automated tests
41-
command: cd test && npm test
44+
command: cd test && npm test
45+
4246
# Jobs and Workflows
4347
version: 2
4448
jobs:
4549
checkout:
46-
machine: true
50+
machine:
51+
<<: *machine-cfg
4752
steps:
4853
- checkout
4954
- run:
5055
name: Clone test script
51-
command: git clone https://github.com/auth0-samples/api-quickstarts-tests test
56+
command: git clone -b v0.0.1 --depth 1 https://github.com/auth0-samples/api-quickstarts-tests test
5257
- persist_to_workspace:
5358
root: ~/
5459
paths:
5560
- project
5661
- test
5762
00-Starter-Seed:
58-
machine: true
63+
machine:
64+
<<: *machine-cfg
5965
environment:
60-
- AUTH0_CFG: 00-Starter-Seed
61-
- SAMPLE_PATH: 00-Starter-Seed
66+
AUTH0_CFG: 00-Starter-Seed
67+
SAMPLE_PATH: 00-Starter-Seed
6268
<<: *defaults
6369
workflows:
6470
version: 2

0 commit comments

Comments
 (0)