Skip to content

Commit db2f72f

Browse files
committed
Improve all the node configuration.
1 parent d45fd4d commit db2f72f

File tree

6 files changed

+3602
-4
lines changed

6 files changed

+3602
-4
lines changed

.github/workflows/deploy-tag.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,16 @@ jobs:
1818
steps:
1919

2020
- name: Checkout repository
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v3
22+
23+
- name: Setup node
24+
uses: actions/setup-node@v3
25+
with:
26+
node-version-file: '.nvmrc'
27+
cache: npm
2228

23-
# @TODO need to cache the npm dependencies
2429
- name: Install Dependencies
25-
run: npm install
30+
run: npm ci
2631

2732
- name: Populate Changelog
2833
run: |

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
/composer.lock
44
/vendor
55
/node_modules
6-
/package-lock.json
76
/tests/_output/
87
/tests/_support/_generated
98
/tests/.env

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18

0 commit comments

Comments
 (0)