Skip to content

Commit

Permalink
chore(ci): Use GH's setup-node Action
Browse files Browse the repository at this point in the history
Since actions/setup-node#338, GH's setup-node Action understands `.nvmrc` files.

This makes our `guardian/actions-setup-node` fork somewhat redundant now.

Move to GH's Action so we can deprecate our fork.
  • Loading branch information
akash1810 committed Jan 27, 2022
1 parent a7c03c0 commit e3a7c3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yaml
Expand Up @@ -9,9 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: guardian/actions-setup-node@v2.4.1
- uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
cache: npm
- name: CD
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Expand Up @@ -26,9 +26,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: guardian/actions-setup-node@v2.4.1
- uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
cache: npm
- run: ./script/ci
approve-and-merge:
Expand Down

0 comments on commit e3a7c3f

Please sign in to comment.