Skip to content

Commit

Permalink
Make build use .nvmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewgdewar committed Oct 2, 2023
1 parent 82f328d commit 0b52709
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
jobs:
build-test-release:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.12.1]
env:
COMMIT_AUTHOR_USERNAME: GitHub actions
COMMIT_AUTHOR_EMAIL: actions@github.com
Expand All @@ -17,10 +14,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js ${{ matrix.node-version }}
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version-file: '.nvmrc'

- name: Install Dependencies
run: npm ci
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/content-sources-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,14 @@ jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.12.1]

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js ${{ matrix.node-version }}
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version-file: '.nvmrc'

- name: Install Dependencies
run: npm ci
Expand Down

0 comments on commit 0b52709

Please sign in to comment.