Skip to content

Commit 808665b

Browse files
author
Richard Všianský
authored
Merge pull request #1261 from data-driven-forms/update-circle-ci
Use node circle orb
2 parents 7960b83 + ec6fff3 commit 808665b

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

.circleci/config.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
version: 2.1
22
orbs:
33
codecov: codecov/[email protected]
4+
node: circleci/[email protected]
45
jobs:
56
build:
67
working_directory: ~/react-forms
78
docker:
8-
- image: circleci/node:16
9+
- image: 'cimg/base:stable'
910
steps:
1011
- checkout
11-
- run:
12-
name: update-npm
13-
command: 'sudo npm install -g npm@latest'
12+
- node/install:
13+
install-yarn: true
14+
node-version: '16.13'
1415
- run:
1516
name: install-deps
1617
command: yarn
@@ -33,10 +34,13 @@ jobs:
3334
release:
3435
working_directory: ~/react-forms
3536
docker:
36-
- image: circleci/node:16
37+
- image: 'cimg/base:stable'
3738
steps:
3839
- attach_workspace:
3940
at: ~/react-forms
41+
- node/install:
42+
install-yarn: true
43+
node-version: '16.13'
4044
- run:
4145
name: Release new version
4246
command: |
@@ -45,10 +49,13 @@ jobs:
4549
predeploy:
4650
working_directory: ~/react-forms
4751
docker:
48-
- image: circleci/node:16
52+
- image: 'cimg/base:stable'
4953
steps:
5054
- attach_workspace:
5155
at: ~/react-forms
56+
- node/install:
57+
install-yarn: true
58+
node-version: '16.13'
5259
- run:
5360
name: Predeploy demo
5461
command: |
@@ -60,10 +67,13 @@ jobs:
6067
deploy:
6168
working_directory: ~/react-forms
6269
docker:
63-
- image: circleci/node:16
70+
- image: 'cimg/base:stable'
6471
steps:
6572
- attach_workspace:
6673
at: ~/react-forms
74+
- node/install:
75+
install-yarn: true
76+
node-version: '16.13'
6777
- run:
6878
name: Deploy demo
6979
command: |

0 commit comments

Comments
 (0)