mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-01 12:15:05 +08:00
Merge pull request #10 from bdunderscore/pr-workflows
Enable workflows for PRs
This commit is contained in:
commit
c215f0e887
1
.github/workflows/build-release.yml
vendored
1
.github/workflows/build-release.yml
vendored
@ -2,6 +2,7 @@ name: Build Release
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
20
.github/workflows/build-test-docs.yml
vendored
Normal file
20
.github/workflows/build-test-docs.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Test documentation
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build-listing:
|
||||
name: build-listing
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- uses: actions/checkout@v3 # check out this repo
|
||||
|
||||
- name: Build docs
|
||||
run: |
|
||||
cd docs
|
||||
npm install
|
||||
npm run build
|
Loading…
Reference in New Issue
Block a user