This repository has been archived by the owner on Aug 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |