From 67b257f2168e4e83e33084ceaa876733248537fd Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Mon, 17 May 2021 10:51:36 +0100 Subject: [PATCH] ci: fix key usage in `action/setup-node` --- .github/workflows/cd.yml | 2 +- .github/workflows/ci.yml | 4 ++-- .github/workflows/link-check.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 5beb101..9371584 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -25,7 +25,7 @@ jobs: - uses: actions/setup-node@v2.1.5 with: - node: 16 + node-version: 16 registry-url: https://registry.npmjs.org/ if: steps.release.outputs.release_created diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88fe8fe..c828cb4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: - uses: actions/checkout@v2.3.4 - uses: actions/setup-node@v2.1.5 with: - node: 16 + node-version: 16 - name: Install run: npm install --ignore-scripts - name: Run ESLint @@ -69,7 +69,7 @@ jobs: - name: Use Node.js ${{ matrix.node }} uses: actions/setup-node@v2.1.5 with: - node: ${{ matrix.node }} + node-version: ${{ matrix.node }} - name: Install run: npm install --ignore-scripts - name: Run Tests diff --git a/.github/workflows/link-check.yml b/.github/workflows/link-check.yml index d31ac16..c40367d 100644 --- a/.github/workflows/link-check.yml +++ b/.github/workflows/link-check.yml @@ -34,6 +34,6 @@ jobs: - uses: actions/checkout@v2.3.4 - uses: actions/setup-node@v2.1.5 with: - node: 16 + node-version: 16 - name: Run Linkinator run: npx linkinator '{,!(node_modules)/**/}*.md' --skip 'https:\/\/(?:www\.|)github\.com\/Fdawgs\/.*\/(?:commit|issues)\/, http://0.0.0.0'