From a7830cb99ed3e89cc8dc18a84811f8eec8e0f34e Mon Sep 17 00:00:00 2001 From: James Bithell Date: Sun, 27 Mar 2022 18:35:46 +0100 Subject: [PATCH] Lock node version --- .github/workflows/balena-push.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/balena-push.yml b/.github/workflows/balena-push.yml index 9ab655b..c11a89c 100644 --- a/.github/workflows/balena-push.yml +++ b/.github/workflows/balena-push.yml @@ -10,7 +10,10 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 - - run: npm install balena-cli -g --production --unsafe-perm + with: + node-version: '12' + cache: 'npm' + - run: npm install balena-cli@13.3.* -g --production --unsafe-perm - run: balena login --token ${secrets.BALENA_API_TOKEN} - run: balena push ${secrets.BALENA_APPLICATION_NAME} - working-directory: ./backend \ No newline at end of file + working-directory: ./backend