Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kajgm committed Nov 6, 2024
1 parent 1414b73 commit bcce97a
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI
Expand All @@ -24,7 +23,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
node-version-file: "client/.nvmrc"
cache-dependency-path: "client/package-lock.json"
cache: "npm"
- name: Install
run: npm ci
Expand All @@ -38,28 +38,16 @@ jobs:
working-directory: ./client
env:
FMP_KEY: ""
STOCK_TICKERS: "MSFT,AAPL,NVDA,AMD,INTC,AMZN"
CRYPTO_TICKERS: "ETH-USD,BTC-USD"
timeout-minutes: 10
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
os: [ubuntu-20.04, windows-latest, macos-latest]
exclude:
- os: windows-latest
node-version: 16.x
- os: windows-latest
node-version: 18.x
- os: macos-latest
node-version: 16.x
- os: macos-latest
node-version: 18.x
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version-file: "client/.nvmrc"
cache-dependency-path: "client/package-lock.json"
cache: "npm"
- name: Install
run: npm ci
Expand Down

0 comments on commit bcce97a

Please sign in to comment.