Skip to content

Commit

Permalink
ci: Fixed workflow install
Browse files Browse the repository at this point in the history
  • Loading branch information
edgardmessias committed Mar 15, 2023
1 parent 9d0f7af commit 9daac9a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@ jobs:
- name: Fetching tags
run: git fetch --tags -f || true

- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 18.x

- name: Install Dependencies
run: npm install
run: npm ci || npm install

- name: Generate Changelog
id: generate_changelog
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 18.x

- name: Install Dependencies
run: npm install
run: npm ci || npm install

- uses: haya14busa/action-cond@v1
id: cond_report
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 10.x
node-version: 18.x

- name: Install Dependencies
run: npm ci
run: npm ci || npm install

- name: Setup Mocha Report
run: npm install mocha-github-actions-reporter --no-save
Expand Down

0 comments on commit 9daac9a

Please sign in to comment.