Merge pull request #1266 from elPandaFriki/dependabot/npm_and_yarn/np… #2858
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: 'Tests' | |
on: | |
push: | |
branches: ['master', 'production'] | |
pull_request: | |
branches: ['master'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- name: Set repository to latest commit | |
uses: actions/checkout@v4 | |
- name: Set up Node.js environment to version ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm install | |
- name: Run tests and generate coverage report | |
run: npm run test | |
#- name: Upload coverage to Codecov | |
# uses: codecov/codecov-action@v3 |