Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa committed Aug 6, 2023
1 parent d03fd72 commit d5f5e4e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Node.js CI

on:
push:
pull_request:
schedule:
- cron: '0 10 * * *'
on: [push, pull_request]

jobs:
test:
Expand Down Expand Up @@ -36,7 +32,7 @@ jobs:
- uses: actions/cache@v2
id: npm-cache
with:
path: "node_modules"
path: 'node_modules'
key: ${{ runner.os }}-node-v${{ matrix.node-version }}-npm-${{ hashFiles('package-lock.json') }}
- run: npm install
if: steps.npm-cache.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -81,7 +77,7 @@ jobs:
- uses: actions/cache@v2
id: npm-cache
with:
path: "node_modules"
path: 'node_modules'
key: ${{ runner.os }}-node-v${{ matrix.node-version }}-npm-${{ hashFiles('package-lock.json') }}
- run: echo 'fetch-timeout=1000000' >> ~/.npmrc
- run: npm install
Expand Down

0 comments on commit d5f5e4e

Please sign in to comment.