Skip to content

Merge pull request #212 from CCIP-App/dependabot/npm_and_yarn/eslint-… #651

Merge pull request #212 from CCIP-App/dependabot/npm_and_yarn/eslint-…

Merge pull request #212 from CCIP-App/dependabot/npm_and_yarn/eslint-… #651

Workflow file for this run

name: Test
on:
push:
branches: [main]
paths-ignore:
- 'docs/**'
- 'README.md'
pull_request:
branches: [main]
paths-ignore:
- 'docs/**'
- 'README.md'
env:
NODE_VERSION: 18.x
CUCUMBER_PUBLISH_TOKEN: ${{ secrets.CUCUMBER_PUBLISH_TOKEN }}
jobs:
tsc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'yarn'
- name: Setup
run: yarn install --frozen-lockfile
- name: TypeScript Check
run: yarn vue-tsc
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'yarn'
- name: Setup
run: yarn install --frozen-lockfile
- name: ESLint
run: yarn eslint .
cucumber:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'yarn'
- name: Setup
run: yarn install --frozen-lockfile
- name: Cucumber
run: yarn e2e:test
vitest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'yarn'
- name: Setup
run: yarn install --frozen-lockfile
- name: Vitest
run: yarn unit:test --coverage --passWithNoTests