Skip to content

Commit

Permalink
install all dependencies, including devDependencies, by using npm ci …
Browse files Browse the repository at this point in the history
…--also=dev
  • Loading branch information
Sivamani-18 committed Aug 2, 2024
1 parent e3c69a4 commit ac4882a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
NODE_ENV: production
GITHUB_TOKEN: ${{ secrets.ACTIONS_DEPLOY_KEY }}


steps:
- uses: actions/checkout@v2

Expand All @@ -23,7 +22,7 @@ jobs:
node-version: '18'

- name: Install dependencies
run: npm install
run: npm ci --also=dev

- name: Build project
run: npm run build
Expand All @@ -34,4 +33,4 @@ jobs:
github_token: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: './out'
user_name: 'github-actions'
user_email: 'github-actions@github.com'
user_email: 'github-actions@github.com'

0 comments on commit ac4882a

Please sign in to comment.