updated circleci.

This commit is contained in:
Jeremy Nusser 2022-11-02 19:38:16 -05:00
parent 7818758292
commit 79ea9ff961
1 changed files with 17 additions and 11 deletions

View File

@ -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