-
Notifications
You must be signed in to change notification settings - Fork 20
41 lines (40 loc) · 1.13 KB
/
website-skeet-utils.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: skeet-utils
on:
push:
branches:
- main
paths:
- 'packages/utils/**'
- '.github/workflows/website-skeet-utils.yml'
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [20.11.0]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- id: auth
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.SKEET_GCP_SA_KEY }}
- name: Install firebase tools
run: pnpm add -g firebase-tools
- name: GitHub repository setting
run: git config --global url."https://github.com".insteadOf ssh://[email protected]
- name: Install dependencies
run: pnpm install
- name: Build App
run: pnpm -F utils build-doc
env:
NODE_OPTIONS: --max-old-space-size=8192
- name: Deploy to Firebase
run: firebase deploy --only hosting:skeet-utils