Skip to content

Algolia search #7

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

Open
wants to merge 424 commits into
base: cms/blog-tags/leetcode
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
424 commits
Select commit Hold shift + click to select a range
79b1f2b
Dev (#2747)
bgoonz Jul 15, 2022
b360bf2
Update webpack.yml
bgoonz Jul 15, 2022
dff8f8b
Hi (#2751) (#2752)
bgoonz Jul 15, 2022
3b3658b
Merge branch 'preview' into master
bgoonz Jul 15, 2022
e56dbc3
Merge pull request #2748 from bgoonz/master
bgoonz Jul 15, 2022
951789a
Merge pull request #2754 from bgoonz/preview
bgoonz Jul 15, 2022
b116bfe
update
bgoonz Jul 17, 2022
818fd9d
Update docs.js
bgoonz Jul 17, 2022
64df6a6
Merge pull request #2756 from bgoonz/master
bgoonz Jul 17, 2022
d19ac0d
Update README.md
bgoonz Jul 23, 2022
602ece4
Merge pull request #2757 from bgoonz/master
bgoonz Jul 23, 2022
368d067
Merge branch 'master' into sourcery/cms/blog/beginners-guide-to-python
bgoonz Jul 23, 2022
83af8fc
Merge pull request #2758 from bgoonz/sourcery/cms/blog/beginners-guid…
bgoonz Jul 23, 2022
ff20dc1
Merge branch 'master' into cms/blog/interview-resources
bgoonz Jul 23, 2022
56b0ce3
Merge pull request #2759 from bgoonz/cms/blog/interview-resources
bgoonz Jul 23, 2022
670a677
Delete “static/images/uploads/blog/tech-stack-banner.png”
bgoonz Jul 23, 2022
f53e27a
Create Blog “the-principles-of-good-code-examples”
bgoonz Jul 23, 2022
6eea7ae
Merge pull request #2760 from bgoonz/cms/blog/the-principles-of-good-…
bgoonz Jul 23, 2022
39fd838
Merge branch 'master' into syntax-highlight
bgoonz Jul 23, 2022
9243985
update
bgoonz Jul 23, 2022
e220a22
update
bgoonz Jul 23, 2022
b7125f1
update
bgoonz Jul 23, 2022
1aa5d5d
update
bgoonz Jul 23, 2022
2ca576f
Create codeql.yml
bgoonz Jul 23, 2022
ea2084a
h
bgoonz Jul 23, 2022
520da9d
update
bgoonz Jul 23, 2022
8093919
Creating a git commit right from the Netlify Graph UI
bgoonz Jul 23, 2022
791ef44
update
bgoonz Jul 23, 2022
f079c7d
Merge branch 'master' of https://github.com/bgoonz/BGOONZ_BLOG_2.0
bgoonz Jul 23, 2022
181d486
Merge branch 'master' into preview
bgoonz Jul 23, 2022
f997d42
ji
bgoonz Jul 23, 2022
41dfebd
update
bgoonz Jul 23, 2022
5a80627
Merge branch 'master' into cms/docs/git/git/recovering-from-common-gi…
bgoonz Jul 23, 2022
25e8520
Merge branch 'master' into preview
bgoonz Jul 23, 2022
2a131c0
Merge branch 'master' into cms/docs/git/git/recovering-from-common-gi…
bgoonz Jul 23, 2022
6f0ca33
update
bgoonz Jul 23, 2022
ae9afe1
Create npm-publish-github-packages.yml
bgoonz Jul 23, 2022
236b20d
update
bgoonz Jul 23, 2022
36cc789
Delete src/pages/docs/typescript directory
bgoonz Jul 23, 2022
a486637
Delete expressjs-apis.md
bgoonz Jul 23, 2022
e4d9b06
Delete eslint-rules.md
bgoonz Jul 23, 2022
b875467
Delete web-dev-frameworks.md
bgoonz Jul 23, 2022
78d2061
Delete web-development-resources.md
bgoonz Jul 23, 2022
42b9b32
Delete what-is-a-redux-reducer.md
bgoonz Jul 23, 2022
dc99d8d
hi
bgoonz Jul 23, 2022
0bfa816
local
bgoonz Jul 23, 2022
e482c61
Merge branch 'master' of https://github.com/bgoonz/BGOONZ_BLOG_2.0
bgoonz Jul 23, 2022
cd2a7e2
local
bgoonz Jul 23, 2022
d4bf98a
Creating a git commit right from the Netlify Graph UI
bgoonz Jul 23, 2022
bb49884
Create Docs “projects/text-to-speech/index”
bgoonz Jul 23, 2022
bfe874c
Merge branch 'master' into cms/docs/git/git/recovering-from-common-gi…
bgoonz Jul 23, 2022
ebabf1b
Merge branch 'master' into sourcery/cms/docs/glossary/local-storage-v…
bgoonz Jul 23, 2022
5fee88f
Merge branch 'master' into restyled/cms/docs/css/css-selector-specifi…
bgoonz Jul 23, 2022
3440fc0
Merge pull request #2772 from bgoonz/restyled/cms/docs/css/css-select…
bgoonz Jul 23, 2022
e5b8c7f
Merge branch 'master' into sourcery/cms/docs/glossary/local-storage-v…
bgoonz Jul 23, 2022
89b928e
Merge pull request #2771 from bgoonz/sourcery/cms/docs/glossary/local…
bgoonz Jul 23, 2022
cfc353b
Update README.md
bgoonz Jul 23, 2022
57f28a7
hi
bgoonz Jul 23, 2022
7952c56
hi
bgoonz Jul 23, 2022
68914b8
Merge branch 'master' into dev
bgoonz Jul 23, 2022
0a5c844
update
bgoonz Jul 23, 2022
8f8812b
Create datadog-synthetics.yml
bgoonz Jul 28, 2022
bc83cb3
Create stale.yml
bgoonz Jul 28, 2022
ade87df
Create manual.yml
bgoonz Jul 28, 2022
254abd4
Merge pull request #2774 from bgoonz/master
bgoonz Jul 28, 2022
d609f2e
Create SECURITY.md
bgoonz Jul 28, 2022
5023dfd
Merge branch 'master' into cms/docs/content/js-function-challenge/index
bgoonz Jul 28, 2022
ab26382
Merge pull request #2776 from bgoonz/cms/docs/content/js-function-cha…
bgoonz Jul 28, 2022
3ebd9a9
Create BlogAuthors “bitbucket”
bgoonz Jul 28, 2022
918b06d
Merge pull request #2778 from bgoonz/cms/blog-authors/bitbucket
bgoonz Jul 28, 2022
6385b34
Create BlogCategories “about”
bgoonz Jul 28, 2022
2ae3012
Merge pull request #2779 from bgoonz/cms/blog-categories/about
bgoonz Jul 28, 2022
fbcf66e
Merge pull request #2768 from bgoonz/dev
bgoonz Jul 28, 2022
21493a2
Update Docs “about/eng-portfolio”
bgoonz Jul 28, 2022
854618d
Merge pull request #2780 from bgoonz/cms/docs/about/eng-portfolio
bgoonz Jul 28, 2022
0b31bde
Merge branch 'master' into preview
bgoonz Jul 28, 2022
7fc1262
Merge pull request #2781 from bgoonz/preview
bgoonz Jul 28, 2022
a7cccb0
Delete gatsby-node.js
bgoonz Jul 28, 2022
d4a22e5
Merge branch 'master' into syntax-highlight
bgoonz Jul 28, 2022
2185676
Merge pull request #2782 from bgoonz/syntax-highlight
bgoonz Jul 28, 2022
2ea5475
Merge pull request #2783 from bgoonz/stable-june
bgoonz Jul 28, 2022
471a033
Merge branch 'master' into cms/docs/git/git/recovering-from-common-gi…
bgoonz Jul 28, 2022
c01fe2e
Merge pull request #2766 from bgoonz/cms/docs/git/git/recovering-from…
bgoonz Jul 28, 2022
1771108
Merge pull request #2784 from bgoonz/algolia-search
bgoonz Jul 28, 2022
bc98fd0
Create greetings.yml
bgoonz Jul 28, 2022
92a06c0
Merge branch 'master' into sourcery/cms/blog/passing-arguments-to-a-c…
bgoonz Jul 28, 2022
28fbc15
Merge pull request #2786 from bgoonz/sourcery/cms/blog/passing-argume…
bgoonz Jul 28, 2022
3634bf1
bab
bgoonz Jul 28, 2022
5076933
update
bgoonz Jul 28, 2022
3012ecf
Merge branch 'master' of https://github.com/bgoonz/BGOONZ_BLOG_2.0
bgoonz Jul 28, 2022
34f2e2e
good commit tag
bgoonz Jul 28, 2022
b5655a8
hi
bgoonz Jul 28, 2022
5e6f27e
Merge branch 'master' into dev
bgoonz Jul 28, 2022
05da164
update
bgoonz Jul 28, 2022
4434c76
hiu
bgoonz Jul 28, 2022
4bed888
Merge pull request #2789 from bgoonz/june2022
bgoonz Jul 28, 2022
e17fd16
update
bgoonz Jul 28, 2022
7a8edcb
good commit tag
bgoonz Jul 28, 2022
2a0e84e
Delete src/pages/docs/javascript/javascript-examples directory
bgoonz Jul 29, 2022
1737e8d
hi
bgoonz Jul 30, 2022
ca6959c
[CodeFactor] Apply fixes to commit 1737e8d
code-factor Jul 30, 2022
7bc7b49
update
bgoonz Jul 30, 2022
9a7c0c0
update
bgoonz Jul 30, 2022
a8d9e03
update
bgoonz Jul 30, 2022
dccc283
Merge branch 'master' of https://github.com/bgoonz/BGOONZ_BLOG_2.0
bgoonz Jul 30, 2022
daae174
update
bgoonz Jul 30, 2022
3f425bf
hi
bgoonz Jul 30, 2022
3f7a3af
demo
bgoonz Jul 30, 2022
a4f76b8
Create pages.yml
bgoonz Jul 30, 2022
95cc446
html
bgoonz Jul 30, 2022
97f3b87
update
bgoonz Jul 30, 2022
e346fc0
Merge branch 'master' of https://github.com/bgoonz/BGOONZ_BLOG_2.0
bgoonz Jul 30, 2022
1135812
h
bgoonz Jul 30, 2022
5a3e36f
update
bgoonz Jul 30, 2022
ebc3064
hi
bgoonz Jul 30, 2022
2e77861
ji
bgoonz Jul 30, 2022
9d835f0
hui
bgoonz Jul 30, 2022
0275120
update
bgoonz Jul 30, 2022
3558734
Update manual.yml
bgoonz Aug 1, 2022
a4d9ed1
Merge pull request #8 from bgoonz/master
bgoonz Aug 1, 2022
87badc4
Create pages-gatsby.yml
bgoonz Aug 1, 2022
0ac7e51
Create Docs “career/work-life-balance/index”
bgoonz Aug 1, 2022
6d18caa
Create Docs “career/work-life-balance/index”
bgoonz Aug 1, 2022
3203c42
Merge pull request #2792 from bgoonz/cms/docs/career/work-life-balanc…
bgoonz Aug 1, 2022
2adc1a5
Merge branch 'master' into cms_1659356529532/docs/career/work-life-ba…
bgoonz Aug 1, 2022
c81217a
Merge pull request #2793 from bgoonz/cms_1659356529532/docs/career/wo…
bgoonz Aug 1, 2022
f46a4f6
Delete datadog-synthetics.yml
bgoonz Aug 1, 2022
41ca319
Delete webpack.yml
bgoonz Aug 1, 2022
9518717
Delete package-lock.json
bgoonz Aug 1, 2022
2a9b5e3
Merge pull request #9 from bgoonz/master
bgoonz Aug 1, 2022
9649d2f
Merge pull request #2794 from BGOOONZ-BLOG/master
bgoonz Aug 1, 2022
e8e5998
Create pages2.yml
bgoonz Aug 1, 2022
bb2d9cd
Update npm-gulp.yml
bgoonz Aug 1, 2022
c16f047
Merge pull request #2796 from bgoonz/master
bgoonz Aug 1, 2022
1dc62a7
Merge pull request #2797 from bgoonz/algolia-search
bgoonz Aug 1, 2022
7222b6a
Revert "Merge pull request #1537 from bgoonz/preview"
bgoonz Aug 1, 2022
6c3ac54
Merge pull request #2798 from bgoonz/revert-1538-master
bgoonz Aug 1, 2022
c03131b
Merge branch 'master' into preview
bgoonz Aug 1, 2022
35f735a
Merge pull request #2799 from bgoonz/preview
bgoonz Aug 1, 2022
4463627
Create npm-publish-github-packages.yml
bgoonz Aug 1, 2022
6e8acce
Create pages.yml
bgoonz Aug 1, 2022
57171f1
Merge branch 'master' into Messed-up-pages
bgoonz Aug 1, 2022
94b4a89
Merge pull request #2800 from bgoonz/Messed-up-pages
bgoonz Aug 1, 2022
3bbe8b6
Delete label.yml
bgoonz Aug 1, 2022
c558e70
Update Layout.js
bgoonz Aug 1, 2022
213aaf1
Delete npm-gulp.yml
bgoonz Aug 1, 2022
f9627c1
Create eslint.yml
bgoonz Aug 1, 2022
9b3b5fa
Delete manual.yml
bgoonz Aug 1, 2022
f694f80
Delete label.yml
bgoonz Aug 1, 2022
d278c36
Create GitHubpages.yml
bgoonz Aug 1, 2022
4dfa246
Merge pull request #2802 from bgoonz/bgoonz-patch-1
bgoonz Aug 1, 2022
2d85110
Update eslint.yml
bgoonz Aug 1, 2022
890dc2f
Delete scripts/python-scripts-master/_UPDATE directory
bgoonz Aug 1, 2022
45601c0
Update pages.yml
bgoonz Aug 1, 2022
367db60
update
bgoonz Aug 1, 2022
e1af8b1
update
bgoonz Aug 1, 2022
e80e2a7
permission
bgoonz Aug 1, 2022
21b238b
hi
bgoonz Aug 1, 2022
903b8f7
-update
bgoonz Aug 1, 2022
776c220
hi
bgoonz Aug 1, 2022
323b977
hi
bgoonz Aug 1, 2022
356173c
-update
bgoonz Aug 1, 2022
66f5572
-update
bgoonz Aug 1, 2022
7013612
-update
bgoonz Aug 1, 2022
6065e59
-update
bgoonz Aug 1, 2022
cb58abf
-update
bgoonz Aug 1, 2022
ccf2026
-update
bgoonz Aug 1, 2022
c16fd22
-update
bgoonz Aug 1, 2022
0396549
-update
bgoonz Aug 1, 2022
5a12d75
update
bgoonz Aug 1, 2022
f18afef
update
bgoonz Aug 1, 2022
c41750f
update
bgoonz Aug 1, 2022
f37d426
update
bgoonz Aug 1, 2022
89b5031
hi
bgoonz Aug 1, 2022
e474ac0
[CodeFactor] Apply fixes to commit 89b5031
code-factor Aug 1, 2022
160f120
hi
bgoonz Aug 1, 2022
61310ef
prev
bgoonz Aug 1, 2022
f83df87
hi
bgoonz Aug 1, 2022
7b60331
hi
bgoonz Aug 1, 2022
f294dc3
hi
bgoonz Aug 1, 2022
7db160a
hi
bgoonz Aug 1, 2022
b04e200
Merge branch 'preview' of https://github.com/bgoonz/BGOONZ_BLOG_2.0 i…
bgoonz Aug 1, 2022
f968e2a
hi
bgoonz Aug 1, 2022
30ecd86
hi
bgoonz Aug 1, 2022
fd8557b
hi
bgoonz Aug 1, 2022
19e80f2
hi
bgoonz Aug 1, 2022
4b7dfac
[CodeFactor] Apply fixes
code-factor Aug 1, 2022
e54bc53
Merge branch 'master' into permission
bgoonz Aug 1, 2022
84748ac
hi
bgoonz Aug 1, 2022
31a7ef6
Merge branch 'permission' of https://github.com/bgoonz/BGOONZ_BLOG_2.…
bgoonz Aug 1, 2022
89bab09
Merge pull request #2805 from bgoonz/permission
bgoonz Aug 1, 2022
afc76a5
Merge pull request #2806 from bgoonz/bgoonz-patch-1
bgoonz Aug 1, 2022
feb6286
Merge pull request #2804 from webdevhub42/master
bgoonz Aug 1, 2022
51f9104
Delete manual.yml
bgoonz Aug 1, 2022
0316aca
pull
bgoonz Aug 1, 2022
d35f0d8
Create pages.yml
bgoonz Aug 1, 2022
892963f
-update
bgoonz Aug 1, 2022
df0648b
-update
bgoonz Aug 1, 2022
e5c96af
-update
bgoonz Aug 1, 2022
99cdac4
update
bgoonz Aug 1, 2022
d41463c
update
bgoonz Aug 1, 2022
56bc5fc
Merge branch 'master' of https://github.com/bgoonz/BGOONZ_BLOG_2.0
bgoonz Aug 1, 2022
6cbea2e
update
bgoonz Aug 1, 2022
84777f9
Merge branch 'master' into dev
bgoonz Aug 1, 2022
0a147f8
Merge pull request #2808 from bgoonz/dev
bgoonz Aug 1, 2022
dee69ea
package.json
bgoonz Aug 1, 2022
9e9ea2c
Merge branch 'master' into cms/docs/quick-ref/new-repo-instructions
bgoonz Aug 1, 2022
3f29225
Merge pull request #2809 from bgoonz/cms/docs/quick-ref/new-repo-inst…
bgoonz Aug 1, 2022
845c6b0
update
bgoonz Aug 1, 2022
9c47ee6
hi
bgoonz Aug 1, 2022
7dc71e4
admin
bgoonz Aug 1, 2022
ca4773c
static
bgoonz Aug 1, 2022
6919264
update
bgoonz Aug 1, 2022
f2177da
update
bgoonz Aug 1, 2022
16f090d
update
bgoonz Aug 1, 2022
36da4b4
update
bgoonz Aug 1, 2022
6aa82b1
update
bgoonz Aug 1, 2022
da2594a
update
bgoonz Aug 1, 2022
5b76cb9
update
bgoonz Aug 1, 2022
94c94be
Create pages.yml
bgoonz Aug 1, 2022
762ad08
update
bgoonz Aug 1, 2022
5384a42
update
bgoonz Aug 1, 2022
8e4b4d1
update
bgoonz Aug 1, 2022
cd13b56
update
bgoonz Aug 1, 2022
7902e3c
update
bgoonz Aug 1, 2022
4ad7ca6
Create BlogTags “clean-code”
bgoonz Aug 2, 2022
24af1ba
Merge pull request #2810 from bgoonz/cms/blog-tags/clean-code
bgoonz Aug 2, 2022
33c196c
Create Docs “community/advice-to-the-new-programmers/index”
bgoonz Aug 2, 2022
07eed28
Merge pull request #2811 from bgoonz/cms/docs/community/advice-to-the…
bgoonz Aug 2, 2022
3e77935
Update Blog “front-end-interview-questions-part-2”
bgoonz Aug 2, 2022
38542af
Merge pull request #2813 from bgoonz/cms/blog/front-end-interview-que…
bgoonz Aug 2, 2022
85faeed
gatsbhy-node
bgoonz Aug 2, 2022
32ecbd0
Merge branch 'master' of https://github.com/bgoonz/BGOONZ_BLOG_2.0
bgoonz Aug 2, 2022
119af09
Create Docs “tools/energy/index”
bgoonz Aug 2, 2022
d92dcb8
hu
bgoonz Aug 2, 2022
f6b14d2
Merge pull request #2815 from bgoonz/cms/docs/tools/energy/index
bgoonz Aug 2, 2022
bbb2cf3
Delete BlogCategories “javascript”
bgoonz Aug 2, 2022
f0dd2ef
bgoonz
bgoonz Aug 2, 2022
ee4be87
update
bgoonz Aug 5, 2022
217d551
ji
bgoonz Aug 5, 2022
796f475
Merge branch 'master' of https://github.com/bgoonz/BGOONZ_BLOG_2.0 in…
bgoonz Aug 5, 2022
b3b689d
ji
bgoonz Aug 5, 2022
09aaeb2
Merge branch 'master' of https://github.com/bgoonz/BGOONZ_BLOG_2.0 in…
bgoonz Aug 5, 2022
67943a0
Merge branch 'dev' of https://github.com/bgoonz/BGOONZ_BLOG_2.0 into …
bgoonz Aug 5, 2022
a638d9b
docs
bgoonz Aug 5, 2022
f69bd99
-update
bgoonz Aug 5, 2022
4b4bf83
-update
bgoonz Aug 5, 2022
1043f28
preview
bgoonz Aug 5, 2022
f4594b1
[CodeFactor] Apply fixes
code-factor Aug 5, 2022
742291e
Merge pull request #6 from bgoonz/preview
bgoonz Aug 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
28 changes: 28 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
root = true

[*]
tab_width = 2
indent_size = 2
charset = utf-8
end_of_line = lf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.txt]
indent_size = false

[test/fast/Listing versions/Running 'nvm ls' calls into nvm_alias]
indent_size = false

[test/fast/Listing versions/Running 'nvm ls --no-alias' does not call into nvm_alias]
indent_size = false

[test/fast/Unit tests/mocks/**]
insert_final_newline = off

[test/**/.urchin*]
insert_final_newline = off

[Makefile]
indent_style = tab
3 changes: 3 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ALGOLIA_APP_ID=O6OT9G9U8Z
ALGOLIA_API_KEY=b0cb3d390176e1ff4bd1ecb12fc15730
ALGOLIA_INDEX_NAME=XXX
17 changes: 0 additions & 17 deletions .eslintrc.json

This file was deleted.

18 changes: 10 additions & 8 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
3 changes: 0 additions & 3 deletions .github/ISSUE_TEMPLATE/custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''

---


1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Create and publish a Docker image

on:
push:
branches: ['release']

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
50 changes: 50 additions & 0 deletions .github/workflows/latest-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: 'Tests: `nvm install-latest-npm`'

on: [pull_request, push]

jobs:
nodes:
name: 'nvm install-latest-npm'
runs-on: ubuntu-latest

strategy:
matrix:
node-version:
- "11"
- "10"
- "9"
- "9.2"
- "9.1"
- "9.0"
- "8"
- "7"
- "6"
- "6.1"
- "5"
- "5.9"
- "4"
- "4.6"
- "4.5"
- "4.4"
- "3"
- "2"
- "1"
- "0.12"
- "0.10"

steps:
- uses: actions/checkout@v2
- uses: ljharb/actions/node/run@main
name: 'nvm install-latest-npm'
with:
node-version: ${{ matrix.node-version }}
skip-ls-check: true
skip-install: true
shell-command: 'npm --version'

node:
name: 'nvm install-latest-npm'
needs: [nodes]
runs-on: ubuntu-latest
steps:
- run: 'echo tests completed'
41 changes: 41 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: 'Tests: linting'

on: [pull_request, push]

jobs:
eclint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ljharb/actions/node/run@main
name: 'npm install && npm run eclint'
with:
node-version: 'lts/*'
command: 'eclint'

dockerfile_lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ljharb/actions/node/run@main
name: 'npm install && npm run dockerfile_lint'
with:
node-version: 'lts/*'
command: 'dockerfile_lint'

doctoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ljharb/actions/node/run@main
name: 'npm install && npm run doctoc'
with:
node-version: 'lts/*'
command: "doctoc:check"

test_naming:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: check tests filenames
run: ./rename_test.sh --check
16 changes: 16 additions & 0 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This is a basic workflow that is manually triggered
name: Gatsby Publish

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: enriikke/gatsby-gh-pages-action@v2
with:
access-token: ${{ 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 }}
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: 'Tests: release process'

on: [pull_request, push]

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "14"
- run: npm install
- name: Configure git
run: |
git config user.name github-actions
git config user.email [email protected]
git fetch --unshallow --tags -f || git fetch --tags -f
- name: Attempt `make release` process
run: echo proceed | make TAG=99.99.99 release
env:
GIT_EDITOR: "sed -i '1 s/^/99.99.99 make release test/'"
- name: Ensure tag is created
run: git tag | grep v99.99.99
28 changes: 28 additions & 0 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: NodeJS with Webpack

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]

steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Build
run: |
npm install
npx webpack
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,13 @@ typings/


# gatsby files
<<<<<<< HEAD
# .cache/
# public
=======
.cache/
public
>>>>>>> 217d551e709e0a3855c273c4474405cc96110325

# Mac files
.DS_Store
Expand All @@ -94,7 +99,12 @@ node_modules/


*.cache
<<<<<<< HEAD
*public
=======

*public/
>>>>>>> 217d551e709e0a3855c273c4474405cc96110325

package.lock.json
# Local Netlify folder
.netlify
4 changes: 4 additions & 0 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

FROM gitpod/workspace-full

RUN npm -g install gatsby-dev-cli
4 changes: 2 additions & 2 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
tasks:
- init: npm install && npm run build && make
command: npm run start
- init: npm install && npm run build && make
command: npm run start
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bryan Guner <[email protected]>
1 change: 1 addition & 0 deletions .netlify/functions-serve/greet/greet.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./src/functions/greet.js')
Loading