chore: removed build #15
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: Main Workflow | |
on: | |
push: | |
schedule: | |
- cron: "0 0 * * 0" | |
jobs: | |
build: | |
name: Build | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
node-version: [14, 16, 17, 18, 19, 20] | |
runs-on: ubuntu-latest | |
container: node:${{ matrix.node-version }}-buster | |
steps: | |
- name: Checkout code from repository | |
uses: actions/checkout@v4 | |
- name: Print Node.js information | |
run: node --version | |
- name: Install package | |
run: npm install | |
- name: Install package (development) | |
run: npm install --only=dev | |
- name: Verify Javascript code linting | |
run: npm run lint | |
- name: Run unit tests | |
run: npm test |