Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
ci(workflow): node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
MathRobin committed Dec 20, 2023
1 parent f59ccde commit 86766d6
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,35 @@ on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
version: [18, 20]
steps:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
- name: Checkout
uses: actions/checkout@v4
- name: Set Timezone
uses: szenius/[email protected]
with:
timezoneLinux: Europe/Paris
- name: System info
run: |
echo "node"
node -v
echo "npm"
npm -v
echo "yarn"
yarn -v
echo "yarn enableImmutableInstalls"
yarn config get enableImmutableInstalls
- name: Allow modify yarn.lock
run: yarn config set -H enableImmutableInstalls false
- name: Install modules
run: yarn
- name: Run lint tasks
run: yarn install
- name: Run lint task
run: yarn lint
- name: Run tests
run: yarn test

0 comments on commit 86766d6

Please sign in to comment.