Skip to content

Commit

Permalink
update greenwood 0.29.0 and latest presentation plugin (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 authored Nov 11, 2023
1 parent bdd7343 commit 859021d
Show file tree
Hide file tree
Showing 9 changed files with 1,164 additions and 2,870 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ on: [pull_request]
jobs:

build:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

strategy:
matrix:
node: [16]
node: [18]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Installing project dependencies
run: |
npm ci --legacy-peer-deps
npm ci
- name: Lint
run: |
npm run lint
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ on:
jobs:

build:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

strategy:
matrix:
node: [16]
node: [18]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Installing project dependencies
run: |
npm ci --legacy-peer-deps
npm ci
- name: Deploy Production
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.15.0
18.15.0
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ Slides for my virtual track talk at [OpenJS World (2022)](https://events.linuxfo
## Local Setup

If you would like to run this project locally
1. Have [NodeJS](https://nodejs.org/) LTS installed
1. Have [NodeJS](https://nodejs.org/) LTS installed (or `nvm use` if you have nvm installed)
1. Clone or fork this repo
1. Install dependencies
```sh
# npm
$ npm ci
```

Expand Down
5 changes: 1 addition & 4 deletions greenwood.config.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
import { greenwoodPluginImportCss } from '@greenwood/plugin-import-css';
import { greenwoodThemeStarterPresentation } from 'greenwood-starter-presentation';

export default {

plugins: [
...greenwoodPluginImportCss(),
...greenwoodThemeStarterPresentation()
greenwoodThemeStarterPresentation()
],

markdown: {
plugins: [
'@mapbox/rehype-prism'
]
}

};
4 changes: 2 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[build]
publish = "public"
command = "yarn build"
command = "npm run build"

[build.processing]
skip_processing = true

[build.environment]
NODE_VERSION = "16.15.0"
NODE_VERSION = "18.15.0"

[[edge_functions]]
function = "hello"
Expand Down
Loading

0 comments on commit 859021d

Please sign in to comment.