From 1a0841ca4d71142ba6d8adfce914bbaa90c41bb4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 20 Sep 2021 18:47:42 +0200 Subject: [PATCH] Use well-specified node.js for Prettier jobs in GitHub Actions --- .github/workflows/codestyle.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml index eaa73d9036..1ada4dd6cf 100644 --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -30,6 +30,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Set up node.js + uses: actions/setup-node@v2 + with: + node-version: "16" - run: npm install - name: Run prettier run: | @@ -45,6 +49,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Set up node.js + uses: actions/setup-node@v2 + with: + node-version: "16" - run: npm install - name: Run prettier run: | -- 2.20.1