Skip to content

Updates ci config

Updates ci config #2

Workflow file for this run

name: On Push CI
on: push
jobs:
setup:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 20.x]
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install
lint:
if: ${{ always() }}

Check failure on line 24 in .github/workflows/pr.ci.yml

View workflow run for this annotation

GitHub Actions / On Push CI

Invalid workflow file

The workflow is not valid. .github/workflows/pr.ci.yml (Line: 24, Col: 5): Required property is missing: runs-on .github/workflows/pr.ci.yml (Line: 31, Col: 5): Required property is missing: runs-on
needs: setup
steps:
- name: Run linter
run: yarn run lint
build:
if: ${{ always() }}
needs: setup
steps:
- name: Run build
run: yarn run build
test:
if: ${{ always() }}
needs: setup
steps:
- name: Run tests
run: yarn run test