Skip to content

Commit

Permalink
add setup latest node to ci action
Browse files Browse the repository at this point in the history
  • Loading branch information
IamRezaMousavi committed Mar 22, 2024
1 parent 76b7656 commit 3fd5276
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CD
name: Continuous Deployment

on:
push:
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml → .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Node.js CI

on: [push, pull_request]

Expand All @@ -9,9 +9,15 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Setup Node
use: actions/setup-node@v4
with:
node-version: 'latest'
cache: 'npm'

- name: Install Modules
run: npm i
run: npm install

- name: Run Lint
run: |
Expand Down

0 comments on commit 3fd5276

Please sign in to comment.