Skip to content

ft-shop-page

ft-shop-page #487

Workflow file for this run

name: CI
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Clear npm cache and reinstall dependencies
run: |
npm cache clean --force
npm install
- name: Run tests explicitly with npm run
run: |
npm run test --if-present -- --passWithNoTests
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}