This repository has been archived by the owner on Oct 14, 2024. It is now read-only.
chore(deps): lock file maintenance #103
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
name: test | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: [18, 20, 21] | |
steps: | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set Timezone | |
uses: MathRobin/[email protected] | |
with: | |
timezoneLinux: Europe/Paris | |
- name: System info | |
run: | | |
echo "node" | |
node -v | |
echo "npm" | |
npm -v | |
echo "yarn" | |
yarn -v | |
- name: Install modules | |
run: yarn install | |
- name: Run lint tasks | |
run: | | |
yarn lint | |
yarn prettier | |
- name: Run tests | |
run: yarn test |