Skip to content

Commit

Permalink
feat: use setup-node@v4 instead of setup manually
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiYou-TW committed Mar 12, 2024
1 parent a611a04 commit 274177f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/lab2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ jobs:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: dependency (ubuntu)
run: |
curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
- uses: actions/setup-node@v4
with:
node-version: latest
- name: grading
run: |
cd lab2
Expand Down

0 comments on commit 274177f

Please sign in to comment.