Skip to content

build: lint, typecheck and test code #1

build: lint, typecheck and test code

build: lint, typecheck and test code #1

Workflow file for this run

name: Frames.js Actions
on:
push:
branches:
- main
- dev
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
initialize:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 18
cache: "yarn"
- name: Install dependencies
run: yarn --frozen-lockfile
lint:
needs: [initialize]

Check failure on line 34 in .github/workflows/github-actions.yml

View workflow run for this annotation

GitHub Actions / Frames.js Actions

Invalid workflow file

The workflow is not valid. .github/workflows/github-actions.yml (Line: 34, Col: 5): Required property is missing: runs-on .github/workflows/github-actions.yml (Line: 40, Col: 5): Required property is missing: runs-on
steps:
- name: Lint
run: yarn lint
typecheck:
needs: [initialize]
steps:
- name: Typecheck
run: yarn build:ci
test:
need: [lint, typecheck]
timeout-minutes: 10
steps:
- name: Unit Tests
run: yarn test:ci