Skip to content

chore(main): release 2.35.0 #346

chore(main): release 2.35.0

chore(main): release 2.35.0 #346

name: CI AI4EOSC
on:
pull_request:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://npm.pkg.github.com'
cache: 'npm'
- run: npm ci
- run: npm run build-ai4eosc-prod
- run: npm run lint
# - name: Cypress
# uses: cypress-io/github-action@v6
# with:
# start: npm start
# wait-on: 'http://localhost:8080'
# wait-on-timeout: 300
# env:
# CYPRESS_EMAIL: ${{secrets.CYPRESS_EMAIL}}
# CYPRESS_PASSWORD: ${{secrets.CYPRESS_PASSWORD}}
# - name: Upload screenshots
# uses: actions/upload-artifact@v3
# if: failure()
# with:
# name: cypress-screenshots
# path: cypress/screenshots
- run: npm run test
- name: SonarQube
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}