Skip to content

Commit

Permalink
[#181] Remove node 16 out of supporting version
Browse files Browse the repository at this point in the history
  • Loading branch information
nvminhtue committed Feb 2, 2024
1 parent d261cf3 commit add9bd2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup node and restore cached dependencies
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'npm'
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/test-generated-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ env:
jobs:
test:
name: Run Tests Generated Project
strategy:
matrix:
node-version: [16.x, 18.x]
runs-on: ubuntu-latest

steps:
Expand All @@ -23,12 +20,12 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: '18.x'
cache: 'npm'

- name: Cache Node npm
id: cache-nodemodules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-infrastructure-templates-node-${{ hashFiles('**/package-lock.json') }}
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,21 @@ on:
jobs:
test:
name: Run Tests
strategy:
matrix:
node-version: [16.x, 18.x]
runs-on: ubuntu-latest

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

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: '18.x'
cache: 'npm'

- name: Cache Node npm
id: cache-nodemodules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-infrastructure-templates-node-${{ hashFiles('**/package-lock.json') }}
Expand Down

0 comments on commit add9bd2

Please sign in to comment.