Skip to content

Fix workflow

Fix workflow #86

Workflow file for this run

name: "[CI] Locations"

Check failure on line 1 in .github/workflows/ci_locations.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci_locations.yml

Invalid workflow file

Cannot define both `uses` and `steps` at the same time for the following jobs: main
on:
push:
branches:
- develop
- main
- release/*
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build_app:
name: Build test application
uses: mainio/gha-decidim-module/.github/workflows/build_app.yml@main
secrets: inherit
main:
needs: build_app
name: Tests
uses: mainio/gha-decidim-module/.github/workflows/ci_rspec.yml@main
secrets: inherit
runs-on: ubuntu-latest
steps:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Update Chromedriver
run: npm install [email protected]
- name: Run Tests
run: npm test