updated circleci.
This commit is contained in:
parent
7818758292
commit
79ea9ff961
|
@ -1,16 +1,22 @@
|
|||
version: '2.1'
|
||||
version: 2.1
|
||||
|
||||
orbs:
|
||||
node: circleci/node@5.0.3
|
||||
node: circleci/node@x.y
|
||||
|
||||
jobs:
|
||||
test:
|
||||
executor:
|
||||
name: node/default
|
||||
tag: '16'
|
||||
install-node-example:
|
||||
docker:
|
||||
- image: cimg/base:stable
|
||||
steps:
|
||||
- checkout
|
||||
- node/install-packages:
|
||||
pkg-manager: yarn
|
||||
- run:
|
||||
command: yarn run test
|
||||
name: Run YARN tests
|
||||
- node/install:
|
||||
install-yarn: true
|
||||
node-version: '16.17'
|
||||
- run: node --version
|
||||
workflows:
|
||||
test_my_app:
|
||||
jobs:
|
||||
- install-node-example
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue