tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
27
pulls
pipelines
next config and github actions
awarm.space
2 years ago
a2adcdee
e6480a69
+44
3 changed files
expand all
collapse all
unified
split
next.config.js
.eslintrc.json
.github
workflows
main.yml
+8
next.config.js
···
0
0
0
0
0
0
0
0
···
1
+
// @ts-check
2
+
3
+
/** @type {import('next').NextConfig} */
4
+
const nextConfig = {
5
+
reactStrictMode: true,
6
+
};
7
+
8
+
module.exports = nextConfig;
+3
.eslintrc.json
···
0
0
0
···
1
+
{
2
+
"extends": "next/core-web-vitals"
3
+
}
+33
.github/workflows/main.yml
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
name: Deploy
2
+
3
+
on:
4
+
push:
5
+
branches:
6
+
- main
7
+
8
+
jobs:
9
+
typecheck:
10
+
runs-on: ubuntu-latest
11
+
name: typecheck
12
+
steps:
13
+
- uses: actions/checkout@v3
14
+
- uses: actions/setup-node@v3
15
+
with:
16
+
node-version: 17
17
+
cache: "npm"
18
+
- run: "npm i"
19
+
- run: "npx tsc"
20
+
deploy-supabase:
21
+
needs: [typecheck]
22
+
runs-on: ubuntu-latest
23
+
name: Deploy Supabase
24
+
env:
25
+
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
26
+
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_DB_PASSWORD }}
27
+
PRODUCTION_PROJECT_ID: bdefzwcumgzjwllsnaej
28
+
29
+
steps:
30
+
- uses: actions/checkout@v3
31
+
- uses: supabase/setup-cli@v1
32
+
- run: supabase link --project-ref $PRODUCTION_PROJECT_ID
33
+
- run: supabase db push