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