Skip to content

back to single repo #62

back to single repo

back to single repo #62

Workflow file for this run

name: CI
on:
push:
branches: [master, alpha, beta]
paths-ignore:
- '**/*.md'
pull_request:
branches: [master]
paths-ignore:
- '**/*.md'
jobs:
sanity:
name: Sanity
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install main project
uses: bahmutov/npm-install@v1
with:
useLockFile: false
- name: Lint
run: npm run lint:ci
- name: Unit Tests
run: npm test
- name: Build
run: npm run build
- name: Install E2E Project
uses: bahmutov/npm-install@v1
with:
useLockFile: false
working-directory: e2e
- name: Run E2E Tests (Fallback)
run: npm test -- --testEnvironment=node
working-directory: e2e
- name: Run E2E Tests (Default)
run: npm test
working-directory: e2e
publish:
name: Publish
depends-on: [sanity]

Check failure on line 47 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: 47, Col: 5): Unexpected value 'depends-on'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install main project
uses: bahmutov/npm-install@v1
with:
useLockFile: false
- name: Semantic release
run: npx --no-install semantic-release --debug
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}