Skip to content

Commit

Permalink
fix: some ci stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminshafii committed Dec 26, 2024
1 parent 8489171 commit 2f628cb
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 101 deletions.
42 changes: 41 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1 +1,41 @@

name: Build Obsidian Plugin

on:
push:
paths:
- 'packages/plugin/**'
pull_request:
paths:
- 'packages/plugin/**'

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: Install dependencies
run: |
cd packages/plugin
pnpm install
- name: Build plugin
run: |
cd packages/plugin
GITHUB_ACTIONS=true pnpm build
- name: Run tests
run: |
cd packages/plugin
pnpm test
41 changes: 0 additions & 41 deletions packages/plugin/.github/workflows/build.yml

This file was deleted.

59 changes: 0 additions & 59 deletions packages/plugin/.github/workflows/release.yml

This file was deleted.

0 comments on commit 2f628cb

Please sign in to comment.