Skip to content

Commit

Permalink
build: replace pnpm with npm
Browse files Browse the repository at this point in the history
  • Loading branch information
mesqueeb committed Jun 3, 2024
1 parent 388c927 commit 383b912
Show file tree
Hide file tree
Showing 16 changed files with 16,036 additions and 106 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/deploy-pr.yml

This file was deleted.

22 changes: 12 additions & 10 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,22 @@ jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.4
- name: Checkout
uses: actions/checkout@v4
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
fetch-depth: 2
ref: ${{ github.ref }}
- name: Set up Node.js 18
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
node-version: 18
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Build
run: npm run docs:build
- uses: FirebaseExtended/action-hosting-deploy@v0
- name: Deploy Docs
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_CYCRAFT_ECOSYSTEM }}'
Expand Down
Loading

0 comments on commit 383b912

Please sign in to comment.