Skip to content

Commit

Permalink
chore(deploy): remove caching and environment setup steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-Asuka committed Dec 11, 2024
1 parent d2fabe7 commit 36da48b
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/deploy_web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,30 +22,16 @@ jobs:
with:
node-version-file: .nvmrc

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

- name: Cache pnpm modules
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Set env
run: |
cd apps/web
echo "VUE_APP_PAGE_TITLE=Easy-to-Use Online MQTT Client | Try Now" > .env.local
echo "VUE_APP_PAGE_DESCRIPTION=Online MQTT 5.0 client on the web, using MQTT over WebSocket to connect to the MQTT Broker and test message publishing and receiving in the browser." >> .env.local
- name: Install dependencies
run: |
pnpm install
- name: build
- name: Build
run: |
pnpm run build:web
Expand Down

0 comments on commit 36da48b

Please sign in to comment.