Skip to content

Commit f2d32b1

Browse files
committed
fix: add package.json + yarn.lock for gh action
1 parent 9852203 commit f2d32b1

File tree

4 files changed

+1149
-2
lines changed

4 files changed

+1149
-2
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/setup-node@v3
2525
with:
2626
node-version: "16"
27-
run: yarn add -D postcss autoprefixer postcss-cli
27+
run: yarn install
2828

2929
- name: Setup Hugo
3030
uses: peaceiris/actions-hugo@v2

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG DOCSY_VERSION=v0.4.0
77
LABEL maintainer="CoMSES Net <support@comses.net>"
88

99
WORKDIR /src
10-
COPY config.toml /src/
10+
COPY config.toml package.json /src/
1111

1212
RUN git config --global --add safe.directory /src \
1313
&& hugo mod init github.com/openmodelingfoundation/openmodelingfoundation.github.io \

package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "omf-site",
3+
"version": "1.0.0",
4+
"license": "CC0-1.0",
5+
"devDependencies": {
6+
"autoprefixer": "^10.2.5",
7+
"postcss": "^8.4.14",
8+
"postcss-cli": "^8.3.1"
9+
},
10+
"dependencies": {
11+
"@octokit/action": "^3.18.0",
12+
"bootstrap": "^5.0.0",
13+
"jquery": "^3.0",
14+
"popper.js": "^1.16.0"
15+
}
16+
}

0 commit comments

Comments
 (0)