Skip to content

Commit

Permalink
Node update (#255)
Browse files Browse the repository at this point in the history
* Update pipelines + node 16

* Fix lock

* Fix up
  • Loading branch information
inverse authored Dec 10, 2022
1 parent 337be23 commit c0961c7
Show file tree
Hide file tree
Showing 8 changed files with 5,765 additions and 1,033 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v2

- name: Get Node.js version from .nvmrc
id: get-node-version
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '14'
node-version: '${{ steps.get-node-version.outputs.NODE_VERSION }}'

- name: Install dependencies
run: npm ci
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v2

- name: Get Node.js version from .nvmrc
id: get-node-version
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '14'
node-version: '${{ steps.get-node-version.outputs.NODE_VERSION }}'

- name: Install dependencies
run: npm ci
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v2

- name: Get Node.js version from .nvmrc
id: get-node-version
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '14'
node-version: '${{ steps.get-node-version.outputs.NODE_VERSION }}'

- name: Install dependencies
run: npm ci
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v2

- name: Get Node.js version from .nvmrc
id: get-node-version
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '14'
registry-url: 'https://registry.npmjs.org'
node-version: '${{ steps.get-node-version.outputs.NODE_VERSION }}'

- name: Install dependencies
run: npm ci
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v2

- name: Get Node.js version from .nvmrc
id: get-node-version
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '14'
node-version: '${{ steps.get-node-version.outputs.NODE_VERSION }}'

- name: Install dependencies
run: npm ci
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/upload-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v2

- name: Get Node.js version from .nvmrc
id: get-node-version
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '14'
node-version: '${{ steps.get-node-version.outputs.NODE_VERSION }}'

- name: Install dependencies
run: npm ci
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.16.0
Loading

0 comments on commit c0961c7

Please sign in to comment.