Skip to content

Update ci.yml

Update ci.yml #94

Workflow file for this run

name: ci
on: push
jobs:
test:
runs-on: ubuntu-20.04
name: Test on Node 20
steps:
- name: Checkout
uses: actions/checkout@v4
# - name: Install pnpm
# uses: pnpm/action-setup@v3
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
# cache: pnpm
- name: Install
run: npm install
run: npx cypress install

Check failure on line 22 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / ci

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 22, Col: 9): 'run' is already defined .github/workflows/ci.yml (Line: 26, Col: 9): 'run' is already defined
- name: Lint
run: npm run lint:ts
run: npm run lint:css
- name: Build
run: npm run build-vite
run: npm run compile-scss
run: npm run copy-css-cp
run: npm run docs
- name: Run tests
run: npm run clean-coverage
run: npx cypress run
- name: Upload coverage report on to coveralls.io...
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}