Skip to content

Commit

Permalink
node version
Browse files Browse the repository at this point in the history
  • Loading branch information
codiku-dev committed Feb 13, 2024
1 parent 91f15c2 commit 23ca1c2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 15.x]
node-version: [16.x]

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js 16.x
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: run test
node-version: 16.x
- name: Install Dependencies
run: npm install
- name: Run unit test
run: npm run test:unit

0 comments on commit 23ca1c2

Please sign in to comment.