diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index c1f902ab01..ed742837cf 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -13,6 +13,9 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '14' - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" diff --git a/package.json b/package.json index 8a6d4a6d83..685de4c17a 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,9 @@ ], "name": "cdtn-admin", "volta": { - "node": "14.18.0" + "node": "14.18.1" + }, + "engines": { + "node": "v14.18.1" } }