forked from NdoleStudio/httpsms
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (38 loc) · 845 Bytes
/
Copy pathweb.yml
File metadata and controls
49 lines (38 loc) · 845 Bytes
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
42
43
44
45
46
47
48
49
name: web
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
pull-requests: write
deployments: write
defaults:
run:
working-directory: ./web
jobs:
validate:
name: Validate
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [24]
steps:
- name: Checkout 🛎
uses: actions/checkout@master
- uses: pnpm/action-setup@v6
name: Install pnpm
with:
version: 11.11.0
- name: Install dependencies 📦
run: pnpm install
- name: Run linter 👀
run: pnpm lint
- name: Run tests 🧪
run: pnpm test
- name: Build 🏗️
run: mv .env.production .env && echo "GITHUB_SHA=${GITHUB_SHA}" >> .env && pnpm run generate