Skip to content

fix(grammar): read also subpath for CI action trigger (#197) #1

fix(grammar): read also subpath for CI action trigger (#197)

fix(grammar): read also subpath for CI action trigger (#197) #1

Workflow file for this run

# SPDX-FileCopyrightText: 2024 Dyne.org foundation
#
# SPDX-License-Identifier: AGPL-3.0-or-later
name: 🪶 Grammar publish
on:
push:
branches:
- main
paths: [ "grammar/**" ]
permissions:
contents: write
issues: write
id-token: write
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
publish:

Check failure on line 25 in .github/workflows/grammar.yml

View workflow run for this annotation

GitHub Actions / 🪶 Grammar publish

Invalid workflow file

The workflow is not valid. .github/workflows/grammar.yml (Line: 25, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-latest
needs: build_and_test
if: github.ref == 'refs/heads/main'
steps:
- name: 🛠️ Prepare pnpm workspace
uses: dyne/pnpm@main
- name: 📦 Releases
working-directory: ./grammar
run: npx semantic-release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}