Skip to content

Commit

Permalink
chore(ci): eject pr workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
smellai committed Jul 5, 2024
1 parent 69338cf commit bbd147d
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
# Reusable workflow for PRs; to eject, you can replace this file with
# https://github.com/ryansonshine/ryansonshine/blob/main/.github/workflows/pr.yml
name: Pull Request

on: [pull_request]
on:
workflow_call:

jobs:
build:
uses: ryansonshine/ryansonshine/.github/workflows/pr.yml@main
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm test
- name: Upload Code Coverage
uses: codecov/codecov-action@v4.5.0

0 comments on commit bbd147d

Please sign in to comment.