Skip to content

build(runner): use large GitHub runner #24

build(runner): use large GitHub runner

build(runner): use large GitHub runner #24

name: validate-pubnub-yml
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on: [push]
jobs:

Check failure on line 7 in .github/workflows/validate-pubnub-yml.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/validate-pubnub-yml.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
build:
name: Validate PubNub yml
runs-on:
group: Default Larger Runners
labels: ubuntu-latest-m
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Install dependencies
run: |
npm install ajv@6.12.6
npm install yaml@1.10.0
npm install node-fetch@2.6.1
npm install chalk@2.4.2
- name: Validate
run: GITHUB_TOKEN=${{ secrets.GH_TOKEN }} node ./.github/workflows/validate-yml.js