Skip to content

Update .travis.yml

Update .travis.yml #1

Workflow file for this run

name: Continuous Integration
on:
push:
pull_request:
branches: [master]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
# This is important to fetch the changes to the previous commit
fetch-depth: 0
- name: Check source code style with Prettier
uses: creyD/[email protected]
with:
prettier_options: --write index.html
only_changed: True
env:
GITHUB_TOKEN: ${{name: Continuous Integration

Check failure on line 27 in .github/workflows/.travis.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/.travis.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
on:
push:
pull_request:
branches: [master]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
# This is important to fetch the changes to the previous commit
fetch-depth: 0
- name: Check source code style with Prettier
uses: creyD/[email protected]
with:
prettier_options: --write index.html
only_changed: True
env:
GITHUB_TOKEN: ${{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}}}}