-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Static build #220
Static build #220
Changes from 20 commits
fb57e75
fc7c595
3130d73
4f0ae48
ad05ce5
350d531
66565df
988457d
0a168c6
add3719
ad3d923
066f143
09cd0c1
8042201
d813fff
9552bc4
11aba63
e99876b
957a1cf
d1467a4
5c72592
997e775
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ jobs: | |
build: | ||
strategy: | ||
matrix: | ||
node-version: [20.10.0] | ||
node-version: [20.11.0] | ||
|
||
runs-on: ubuntu-latest | ||
|
||
|
@@ -21,8 +21,10 @@ jobs: | |
with: | ||
node-version: '${{ matrix.node-version }}' | ||
|
||
- name: Get events mock for PR build | ||
run: npm run get-mock-events | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Run PR build with mock events to ensure the build is successful. |
||
- name: Build | ||
run: | | ||
npm install | ||
npm run test | ||
npm run build | ||
npm run pr-build |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,7 @@ yarn-error.log* | |
|
||
# secrets | ||
calendar-service-account.json | ||
|
||
# gatsby files | ||
.cache/ | ||
public |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import './src/styles/App.css'; | ||
import './src/styles/Header.css'; | ||
import './src/styles/index.css'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/** | ||
* Configure your Gatsby site with this file. | ||
* | ||
* See: https://www.gatsbyjs.com/docs/reference/config-files/gatsby-config/ | ||
*/ | ||
|
||
/** | ||
* @type {import('gatsby').GatsbyConfig} | ||
*/ | ||
module.exports = { | ||
siteMetadata: { | ||
title: `FINOS Event Calendar`, | ||
}, | ||
plugins: [], | ||
}; |
This file was deleted.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mock events to be used for PR build to test that server side rendering will build successfully. |
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gatsby includes eslint with a comprehensive config.