Skip to content

add github workflows #1

add github workflows

add github workflows #1

Workflow file for this run

name: Pull Request

Check failure on line 1 in .github/workflows/pull_request.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pull_request.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: build
on:
pull_request:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
pull_request:
name: Pull Request
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: 18
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Unit Tests
run: yarn test