Skip to content

Commit

Permalink
Merge pull request #1056 from newrelic/develop
Browse files Browse the repository at this point in the history
release
  • Loading branch information
sunnyzanchi authored Feb 2, 2024
2 parents 2a0b872 + 6274fb0 commit bc0c1ff
Show file tree
Hide file tree
Showing 10 changed files with 182 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/actions/sync-data/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ inputs:
project-stats:
description: 'true/false - determines whether to fetch and sync the project-stats data'
runs:
using: 'node16'
using: 'node18'
main: 'dist/index.js'
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: Cache node_modules
id: cache-node
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: Cache node_modules
id: cache-node
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: Cache node_modules
id: cache-node
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: Download Cached Deps
id: cache-node-modules
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/trigger-netlify-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Trigger Netlify Build

on:
issue_comment:
types: [created]

jobs:
deploy-preview:
runs-on: ubuntu-latest
steps:
- name: deploy to preview mode
if: contains(github.event.comment.body, 'netlify build')
uses: thundermiracle/netlify-deploy@v3
with:
node: 20
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN}}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID}}
deploy-dir: './public'
extra-cache-path: |
.cache
public
- name: Comment for Netlify to update with preview URL
uses: thollander/actions-comment-pull-request@v2
with:
message: |
> Netlify Preview Deployment Information
> This comment will auto update when your preview build is ready!
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
64 changes: 64 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,67 @@
# [1.27.0](https://github.com/newrelic/opensource-website/compare/v1.26.7...v1.27.0) (2024-02-02)


### Features

* add netlify.toml and `gatsby-plugin-netlify` ([aff629d](https://github.com/newrelic/opensource-website/commit/aff629dc81bdf9af18943e44036d7d8c424295f4))

## [1.26.7](https://github.com/newrelic/opensource-website/compare/v1.26.6...v1.26.7) (2024-02-01)


### Bug Fixes

* update workflow to add comment to PR ([99a5dc6](https://github.com/newrelic/opensource-website/commit/99a5dc6ebc4129329eb27536f7153b8edb8a09dc))

## [1.26.6](https://github.com/newrelic/opensource-website/compare/v1.26.5...v1.26.6) (2024-01-31)


### Bug Fixes

* actually it should be node 20 ([6569623](https://github.com/newrelic/opensource-website/commit/65696238a1c7f46e864894403395342419cec3bb))

## [1.26.5](https://github.com/newrelic/opensource-website/compare/v1.26.4...v1.26.5) (2024-01-31)


### Bug Fixes

* update node version for workflow to node 16 ([1e5e5ae](https://github.com/newrelic/opensource-website/commit/1e5e5aeafce5fffab5f86dfe5b54a3d80383fdd0))

## [1.26.4](https://github.com/newrelic/opensource-website/compare/v1.26.3...v1.26.4) (2024-01-31)


### Bug Fixes

* update node version for workflow to node 16 ([92aa3fa](https://github.com/newrelic/opensource-website/commit/92aa3faad5db900bff40852e38a82c102bb0fcb2))

## [1.26.3](https://github.com/newrelic/opensource-website/compare/v1.26.2...v1.26.3) (2024-01-31)


### Bug Fixes

* update theme version ([de86c5a](https://github.com/newrelic/opensource-website/commit/de86c5a660ae8ed9c3eb3e3262974d9ed3ad2425))

## [1.26.2](https://github.com/newrelic/opensource-website/compare/v1.26.1...v1.26.2) (2024-01-30)


### Bug Fixes

* update action yaml formatting ([4dadfa7](https://github.com/newrelic/opensource-website/commit/4dadfa781c132f4be57b43f2d5ca37cb670c9e5c))
* update yaml formatting again ([4f58389](https://github.com/newrelic/opensource-website/commit/4f58389f412cd8228f4b367126ca966c6e6534e8))

## [1.26.1](https://github.com/newrelic/opensource-website/compare/v1.26.0...v1.26.1) (2024-01-30)


### Bug Fixes

* fix workflow ([29d5617](https://github.com/newrelic/opensource-website/commit/29d56173bc2eb149c0d3b93510057c6722a78094))

# [1.26.0](https://github.com/newrelic/opensource-website/compare/v1.25.0...v1.26.0) (2024-01-30)


### Features

* add test workflow ([b0aceaa](https://github.com/newrelic/opensource-website/commit/b0aceaa54004d7fb1559bc9efc9803d0c114e596))

# [1.25.0](https://github.com/newrelic/opensource-website/compare/v1.24.10...v1.25.0) (2024-01-25)


Expand Down
1 change: 1 addition & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ module.exports = {
extensions: [`.mdx`, `.md`],
},
},
'gatsby-plugin-netlify',
{
resolve: 'gatsby-plugin-gatsby-cloud',
options: {
Expand Down
5 changes: 5 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[[plugins]]
package = "@netlify/plugin-gatsby"

[functions]
included_files = ["!.cache/data/datastore/data.mdb","!.cache/query-engine"]
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"name": "opensource-website",
"private": true,
"description": "Data, code, and automation for opensource.newrelic.com",
"version": "1.25.0",
"version": "1.27.0",
"author": "Open Source Team at New Relic <[email protected]>",
"dependencies": {
"@emotion/react": "^11.1.5",
"@emotion/styled": "^11.3.0",
"@mdx-js/mdx": "^1.6.22",
"@mdx-js/react": "^1.6.22",
"@newrelic/gatsby-theme-newrelic": "9.2.8",
"@newrelic/gatsby-theme-newrelic": "9.2.9",
"@splitsoftware/splitio-react": "^1.2.4",
"date-fns": "^2.17.0",
"feather-icons": "^4.28.0",
Expand All @@ -18,6 +18,7 @@
"gatsby-plugin-gatsby-cloud": "^4.20.0",
"gatsby-plugin-manifest": "^4.20.0",
"gatsby-plugin-mdx": "^2.8.0",
"gatsby-plugin-netlify": "^5.1.1",
"gatsby-plugin-offline": "^4.8.0",
"gatsby-plugin-sass": "^5.9.0",
"gatsby-plugin-sharp": "^4.20.0",
Expand Down
79 changes: 73 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1487,6 +1487,13 @@
dependencies:
regenerator-runtime "^0.13.11"

"@babel/runtime@^7.20.13":
version "7.23.9"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.9.tgz#47791a15e4603bb5f905bc0753801cf21d6345f7"
integrity sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw==
dependencies:
regenerator-runtime "^0.14.0"

"@babel/runtime@^7.3.1":
version "7.23.5"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.5.tgz#11edb98f8aeec529b82b211028177679144242db"
Expand Down Expand Up @@ -2666,10 +2673,10 @@
eslint-plugin-promise "^4.2.1"
eslint-plugin-react "^7.14.3"

"@newrelic/[email protected].8":
version "9.2.8"
resolved "https://registry.yarnpkg.com/@newrelic/gatsby-theme-newrelic/-/gatsby-theme-newrelic-9.2.8.tgz#2a0f35b7718b4ce96b4aaada727878ce380b48cd"
integrity sha512-TYOYPRMA8mEfJGjXr0iJeL/7XhaQxFhBSgmN3UoKQtnrZd5LHg4+eDhcws1ST2SJQwyXc59fg662Z8nxNF+15g==
"@newrelic/[email protected].9":
version "9.2.9"
resolved "https://registry.yarnpkg.com/@newrelic/gatsby-theme-newrelic/-/gatsby-theme-newrelic-9.2.9.tgz#c5c28c67255d96a0e2a528bd479e4d71a96394b3"
integrity sha512-e3V2E5Yo90YaSQb8RQ/Dk6yVXXZMll84QytStsNWqZBig43C2QB7IXJWShclzJbARwa1D04kqVVDg5XTapp5yQ==
dependencies:
"@segment/analytics-next" "1.63.0"
"@wry/equality" "^0.4.0"
Expand Down Expand Up @@ -8527,6 +8534,13 @@ fastq@^1.13.0, fastq@^1.6.0:
dependencies:
reusify "^1.0.4"

fastq@^1.15.0:
version "1.17.0"
resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.17.0.tgz#ca5e1a90b5e68f97fc8b61330d5819b82f5fab03"
integrity sha512-zGygtijUMT7jnk3h26kUms3BkSDp4IfIKjmnqI2tvx6nuBfiF1UqOxbnLfzdv+apBy+53oaImsKtMw/xYbW+1w==
dependencies:
reusify "^1.0.4"

fb-watchman@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.1.tgz#fc84fb39d2709cf3ff6d743706157bb5708a8a85"
Expand Down Expand Up @@ -8837,6 +8851,15 @@ fs-extra@^10.0.0, fs-extra@^10.1.0:
jsonfile "^6.0.1"
universalify "^2.0.0"

fs-extra@^11.0.0, fs-extra@^11.1.1:
version "11.2.0"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.2.0.tgz#e70e17dfad64232287d01929399e0ea7c86b0e5b"
integrity sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==
dependencies:
graceful-fs "^4.2.0"
jsonfile "^6.0.1"
universalify "^2.0.0"

fs-extra@^4.0.2:
version "4.0.3"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94"
Expand Down Expand Up @@ -9013,6 +9036,28 @@ gatsby-core-utils@^3.25.0:
tmp "^0.2.1"
xdg-basedir "^4.0.0"

gatsby-core-utils@^4.0.0:
version "4.13.1"
resolved "https://registry.yarnpkg.com/gatsby-core-utils/-/gatsby-core-utils-4.13.1.tgz#57955316486cc85ab150922f481484bc9287205e"
integrity sha512-w7G6SsQr8T2q+AJ1MxvRNGocCt+wjc22MiRLj2Zi3Ijpjszbr818JxwI4+aPt8WOSHlKT5SYCHICnEvcYPm9gg==
dependencies:
"@babel/runtime" "^7.20.13"
ci-info "2.0.0"
configstore "^5.0.1"
fastq "^1.15.0"
file-type "^16.5.4"
fs-extra "^11.1.1"
got "^11.8.6"
hash-wasm "^4.9.0"
import-from "^4.0.0"
lmdb "2.5.3"
lock "^1.1.0"
node-object-hash "^2.3.10"
proper-lockfile "^4.1.2"
resolve-from "^5.0.0"
tmp "^0.2.1"
xdg-basedir "^4.0.0"

gatsby-graphiql-explorer@^2.25.0:
version "2.25.0"
resolved "https://registry.yarnpkg.com/gatsby-graphiql-explorer/-/gatsby-graphiql-explorer-2.25.0.tgz#78fe692009739cbd330b6c10a1cfebcff8301ab8"
Expand Down Expand Up @@ -9160,6 +9205,18 @@ gatsby-plugin-mdx@^2.8.0:
unist-util-remove "^1.0.3"
unist-util-visit "^1.4.1"

gatsby-plugin-netlify@^5.1.1:
version "5.1.1"
resolved "https://registry.yarnpkg.com/gatsby-plugin-netlify/-/gatsby-plugin-netlify-5.1.1.tgz#c9497133fca784900df7a80c31c47853fabdcae7"
integrity sha512-CembvYjbP7NJvVIdffqWaBKXMHIxYBKBEoXFGvCKX+8phRNkfmjnvoljoOakv0ypHBpgjgtpa7Nvc3PI+IjB1A==
dependencies:
"@babel/runtime" "^7.16.7"
fs-extra "^11.0.0"
gatsby-core-utils "^4.0.0"
kebab-hash "^0.1.2"
lodash.mergewith "^4.6.2"
webpack-assets-manifest "^5.0.6"

gatsby-plugin-newrelic@^2.4.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/gatsby-plugin-newrelic/-/gatsby-plugin-newrelic-2.4.0.tgz#9361b49db19cbbe4e6f17aa2f81d9c68535f62fe"
Expand Down Expand Up @@ -9879,7 +9936,7 @@ got@^11.8.2:
p-cancelable "^2.0.0"
responselike "^2.0.0"

got@^11.8.5:
got@^11.8.5, got@^11.8.6:
version "11.8.6"
resolved "https://registry.yarnpkg.com/got/-/got-11.8.6.tgz#276e827ead8772eddbcfc97170590b841823233a"
integrity sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g==
Expand Down Expand Up @@ -10070,6 +10127,11 @@ has@^1.0.3:
dependencies:
function-bind "^1.1.1"

hash-wasm@^4.9.0:
version "4.11.0"
resolved "https://registry.yarnpkg.com/hash-wasm/-/hash-wasm-4.11.0.tgz#7d1479b114c82e48498fdb1d2462a687d00386d5"
integrity sha512-HVusNXlVqHe0fzIzdQOGolnFN6mX/fqcrSAOcTBXdvzrXVHwTz11vXeKRmkR5gTuwVpvHZEIyKoePDvuAR+XwQ==

hasha@^5.2.2:
version "5.2.2"
resolved "https://registry.yarnpkg.com/hasha/-/hasha-5.2.2.tgz#a48477989b3b327aea3c04f53096d816d97522a1"
Expand Down Expand Up @@ -12125,6 +12187,11 @@ lodash.merge@^4.4.0, lodash.merge@^4.6.2:
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a"
integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==

lodash.mergewith@^4.6.2:
version "4.6.2"
resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55"
integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==

lodash.pick@^4.2.1:
version "4.4.0"
resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3"
Expand Down Expand Up @@ -17547,7 +17614,7 @@ webidl-conversions@^6.1.0:
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-6.1.0.tgz#9111b4d7ea80acd40f5270d666621afa78b69514"
integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==

webpack-assets-manifest@^5.1.0:
webpack-assets-manifest@^5.0.6, webpack-assets-manifest@^5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/webpack-assets-manifest/-/webpack-assets-manifest-5.1.0.tgz#5af328f6c8fa760cb9a62af631a83da2b478b791"
integrity sha512-kPuTMEjBrqZQVJ5M6yXNBCEdFbQQn7p+loNXt8NOeDFaAbsNFWqqwR0YL1mfG5LbwhK5FLXWXpuK3GuIIZ46rg==
Expand Down

0 comments on commit bc0c1ff

Please sign in to comment.