-
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
440aca7
commit 6b4c7f5
Showing
4 changed files
with
32 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,17 +2,21 @@ name: publish-docs | |
on: | ||
push: | ||
branches: | ||
- main | ||
- main | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
name: Build and deploy docs | ||
name: Build and Deploy the Documentation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
- name: Checkout the Repository | ||
uses: actions/[email protected] | ||
with: | ||
node-version: "18" | ||
fetch-depth: 0 | ||
- name: Set Up Node.JS | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 20 | ||
- run: npm i -g moonwave@latest | ||
- name: Publish | ||
run: | | ||
|
@@ -21,4 +25,4 @@ jobs: | |
git config --global user.name "github-actions-bot" | ||
moonwave build --publish | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
# Reusable workflow that lints the repository! | ||
name: lint | ||
on: | ||
workflow_call | ||
on: workflow_call | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: Checkout the Repository | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Aftman | ||
uses: ok-nick/setup-aftman@v0.3.0 | ||
- name: Setting up Aftman | ||
uses: ok-nick/setup-aftman@v0.4.2 | ||
with: | ||
version: "v0.2.7" | ||
version: 'v0.2.7' | ||
cache: 'true' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Generate standard library | ||
- name: Generate the Standard Library | ||
run: selene generate-roblox-std | ||
|
||
- name: Run Selene | ||
- name: Source Checking With Selene | ||
run: selene src | ||
|
||
- name: Run moonwave-extractor | ||
if: success() || failure() | ||
run: moonwave-extractor extract src | ||
run: moonwave-extractor extract src |
6b4c7f5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😄