Skip to content

feat(action): introduce fork action #4

feat(action): introduce fork action

feat(action): introduce fork action #4

Workflow file for this run

name: Continuous Integration
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
test-typescript:
name: TypeScript Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
- name: Install current dependencies
run: yarn install --frozen-lockfile
- name: Check Format
run: yarn format:check
- name: Lint
run: yarn lint
test-action:
name: GitHub Actions Test
runs-on: ubuntu-latest
if: ${{ github.event_name === "pull_request" }}

Check failure on line 41 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Continuous Integration

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 41, Col: 9): Unexpected symbol: '='. Located at position 21 within expression: github.event_name === "pull_request" .github/workflows/ci.yml (Line: 53, Col: 17): A sequence was not expected
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Test Local Action
id: test-action
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
workflow_id: '.github/workflows/check-dist.yml'
jobs: ['Diff']
head_sha: ${{ github.event.pull_request.head.sha }}
repo: 'gear-tech/fork-action'
ref: ${{ github.head_ref || github.ref_name }}