mirror of
https://github.com/CompeyDev/rusty-luau.git
synced 2024-12-12 04:40:40 +00:00
chore(actions/docs): another attempt at fixing npm aliasing
This commit is contained in:
parent
6fab3b64ce
commit
d2b0cbf190
1 changed files with 7 additions and 8 deletions
15
.github/workflows/docs.yaml
vendored
15
.github/workflows/docs.yaml
vendored
|
@ -9,6 +9,10 @@ permissions:
|
||||||
pages: write
|
pages: write
|
||||||
id-token: write
|
id-token: write
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
environment:
|
environment:
|
||||||
|
@ -28,21 +32,16 @@ jobs:
|
||||||
uses: actions/setup-node@v4.0.2
|
uses: actions/setup-node@v4.0.2
|
||||||
|
|
||||||
- name: Register aliases for NPM command
|
- name: Register aliases for NPM command
|
||||||
shell: bash
|
|
||||||
run: |
|
run: |
|
||||||
rc=/tmp/rcfile
|
rc=$HOME/.bashrc
|
||||||
echo 'shopt -s expand_aliases' > $rc
|
echo 'shopt -s expand_aliases' > $rc
|
||||||
echo 'alias npm="pnpm" ' >> $rc
|
echo 'alias npm="pnpm" ' >> $rc
|
||||||
|
|
||||||
- name: Install Moonwave CLI
|
- name: Install Moonwave CLI
|
||||||
run: |
|
run: npm i -g moonwave
|
||||||
source /tmp/rcfile
|
|
||||||
npm i -g moonwave
|
|
||||||
|
|
||||||
- name: Build static site
|
- name: Build static site
|
||||||
run: |
|
run: moonwave build
|
||||||
source /tmp/rcfile
|
|
||||||
moonwave build
|
|
||||||
|
|
||||||
- name: Setup GitHub pages
|
- name: Setup GitHub pages
|
||||||
uses: actions/configure-pages@v3
|
uses: actions/configure-pages@v3
|
||||||
|
|
Loading…
Reference in a new issue