Skip to content

Commit

Permalink
fix(github-action): remove manual nodejs installation and use github-…
Browse files Browse the repository at this point in the history
…action
  • Loading branch information
231tr0n committed Mar 3, 2024
1 parent 93042fb commit 4a958d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install required dependencies
run: |
curl -sL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo DEBIAN_FRONTEND=noninteractive apt install -y nodejs
- uses: actions/setup-node@v4
with:
node-version: latest
- name: Print versions
run: |
git --version
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"@types/eslint": "8.56.5",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@vitest/coverage-v8": "^1.3.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
Expand Down

0 comments on commit 4a958d3

Please sign in to comment.