Skip to content

Merge pull request #3243 from numbersprotocol/feature-collection-tab #667

Merge pull request #3243 from numbersprotocol/feature-collection-tab

Merge pull request #3243 from numbersprotocol/feature-collection-tab #667

Workflow file for this run

name: test
on:
push:
branches:
[master, 'feature-*', 'feat-*', 'fix-*', 'hotfix-*', 'milestone-*']
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.11.1'
- name: Install Ionic CLI
run: npm install -g @ionic/cli
- name: Generate .npmrc for pintura package
env:
NUMBERS_PQINA_NPM_KEY: ${{ secrets.NUMBERS_PQINA_NPM_KEY }}
run: npm run preconfig.npmrc
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Lint
run: npm run lint
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.11.1'
- name: Install Ionic CLI
run: npm install -g @ionic/cli
- name: Generate .npmrc for pintura package
env:
NUMBERS_PQINA_NPM_KEY: ${{ secrets.NUMBERS_PQINA_NPM_KEY }}
run: npm run preconfig.npmrc
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Test
run: npm run test.ci
- name: Upload coverage reports
uses: codacy/codacy-coverage-reporter-action@master
if: github.actor != 'dependabot[bot]'
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: ./coverage/cobertura-coverage.xml