Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 10 additions & 30 deletions .github/workflows/deployment-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,13 @@ jobs:
NODE_OPTIONS: --unhandled-rejections=strict

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Read .nvmrc
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
id: nvm

- name: Use Node.js (.nvmrc)
uses: actions/setup-node@v2
with:
node-version: ${{ steps.nvm.outputs.NVMRC }}

- uses: actions/cache@v2
- name: Use Node.js
uses: actions/setup-node@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
node-version-file: .nvmrc
cache: npm

- name: Install Dependencies
run: npm ci
Expand All @@ -48,23 +38,13 @@ jobs:
NODE_OPTIONS: --unhandled-rejections=strict

steps:
- uses: actions/checkout@v2

- name: Read .nvmrc
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
id: nvm

- name: Use Node.js (.nvmrc)
uses: actions/setup-node@v2
with:
node-version: ${{ steps.nvm.outputs.NVMRC }}
- uses: actions/checkout@v4

- uses: actions/cache@v2
- name: Use Node.js
uses: actions/setup-node@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
node-version-file: .nvmrc
cache: npm

- name: Install Dependencies
run: npm ci
Expand Down
40 changes: 10 additions & 30 deletions .github/workflows/deployment-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,13 @@ jobs:
NODE_OPTIONS: --unhandled-rejections=strict

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Read .nvmrc
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
id: nvm

- name: Use Node.js (.nvmrc)
uses: actions/setup-node@v2
with:
node-version: ${{ steps.nvm.outputs.NVMRC }}

- uses: actions/cache@v2
- name: Use Node.js
uses: actions/setup-node@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
node-version-file: .nvmrc
cache: npm

- name: Install Dependencies
run: npm ci
Expand All @@ -48,23 +38,13 @@ jobs:
NODE_OPTIONS: --unhandled-rejections=strict

steps:
- uses: actions/checkout@v2

- name: Read .nvmrc
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
id: nvm

- name: Use Node.js (.nvmrc)
uses: actions/setup-node@v2
with:
node-version: ${{ steps.nvm.outputs.NVMRC }}
- uses: actions/checkout@v4

- uses: actions/cache@v2
- name: Use Node.js
uses: actions/setup-node@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
node-version-file: .nvmrc
cache: npm

- name: Install Dependencies
run: npm ci
Expand Down
20 changes: 5 additions & 15 deletions .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,13 @@ jobs:
NODE_OPTIONS: --unhandled-rejections=strict

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Read .nvmrc
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
id: nvm

- name: Use Node.js (.nvmrc)
uses: actions/setup-node@v2
with:
node-version: ${{ steps.nvm.outputs.NVMRC }}

- uses: actions/cache@v2
- name: Use Node.js
uses: actions/setup-node@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
node-version-file: .nvmrc
cache: npm

- name: Install Dependencies
run: npm ci
Expand Down