Skip to content

Eslint rules for wrapper application. Changes in .github/workflows fo… #12

Eslint rules for wrapper application. Changes in .github/workflows fo…

Eslint rules for wrapper application. Changes in .github/workflows fo… #12

Workflow file for this run

name: Tokenization
on:
pull_request:
paths:
- 'Tokenization/**/*'
- '.github/workflows/tokenization.yml'
push:
branches:
- 'main'
- 'dev'
jobs:
lint-check-wrapper:
name: Check eslint rules for backend on ubuntu-latest
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '22.x'
- run: (cd Tokenization/backend/wrapper; npm i)
- run: (cd Tokenization/backend/wrapper; npm run lint)
lint-check-webapp:
name: Check eslint rules for webapp on ubuntu-latest
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '22.x'
- run: (cd Tokenization/webapp; npm i )
- run: (cd Tokenization/webapp; npm run typecheck)
- run: (cd Tokenization/webapp; npm run lint)
unit-tests-wrapper:
name: Unit tests for wrapper
runs-on: ubuntu-latest

Check failure on line 42 in .github/workflows/tokenization.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tokenization.yml

Invalid workflow file

You have an error in your yaml syntax on line 42
timeout-minutes: 6
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '22.x'
- run: (cd Tokenization/backend/wrapper; npm i )
- run: (cd Tokenization/backend/wrapper; npm run test)
ui-tests:
name: UI-tests for webapp application
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '22.x'
- run: (cd Tokenization/webapp; npm run docker:test)