From e0e28046b9b86c679cd85ccfe7592e310e21276c Mon Sep 17 00:00:00 2001 From: rayangler <27821750+rayangler@users.noreply.github.com> Date: Fri, 17 Feb 2023 17:17:39 -0500 Subject: [PATCH] Set node version for GH Actions workflows (#17) --- .github/workflows/e2e-tests.yml | 3 +++ .github/workflows/release.yml | 4 ++++ .github/workflows/unit-tests.yml | 3 +++ 3 files changed, 10 insertions(+) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 7e384896..74a2cf32 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -10,6 +10,9 @@ jobs: NPM_EMAIL: ${{ secrets.NPM_EMAIL }} steps: - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 14 - run: npm ci && npm ci --prefix cli - run: npm run bundle - run: npm run e2e diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ee4f85d7..0a219cbb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,8 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 + with: + node-version: 14 - name: Install dependencies run: npm ci && npm ci --prefix cli - name: Create bundles @@ -48,6 +50,8 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 + with: + node-version: 14 - name: Install dependencies run: npm ci && npm ci --prefix cli - name: Create bundles diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 7c4a12c0..d8c7c76c 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -10,6 +10,9 @@ jobs: NPM_EMAIL: ${{ secrets.NPM_EMAIL }} steps: - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 14 - run: npm ci && npm ci --prefix cli - run: npm run bundle - run: npm test