ci: use global .node-version for correct version

This commit is contained in:
nachtjasmin 2023-12-02 12:58:36 +01:00 committed by Jasmin
parent d52dcc21f9
commit c90c52f719
3 changed files with 5 additions and 2 deletions

View file

@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "14.x"
node-version-file: ".node-version"
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers

View file

@ -14,9 +14,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".node-version"
- name: Format files
run: make format
- uses: stefanzweifel/git-auto-commit-action@v5
name: Commit possible changes
with:

1
.node-version Normal file
View file

@ -0,0 +1 @@
v18