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/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: "14.x" node-version-file: ".node-version"
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
- name: Install Playwright Browsers - name: Install Playwright Browsers

View file

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

1
.node-version Normal file
View file

@ -0,0 +1 @@
v18