Skip to content

Commit 26c20ec

Browse files
authored
Install node modules before running Rake
1 parent 26abeee commit 26c20ec

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/jekyll.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v2
1212

13+
# Node-specific steps
14+
- name: Install node modules
15+
run: |
16+
npm install
17+
1318
# Ruby-specific steps
1419
- name: Set up Ruby 2.6
1520
uses: actions/setup-ruby@v1
@@ -21,14 +26,9 @@ jobs:
2126
bundle install --jobs 4 --retry 3
2227
bundle exec rake
2328
24-
# Node-specific steps
25-
- name: Install node modules
26-
run: |
27-
npm install
28-
2929
# Jekyll-specific steps
3030
- name: Build the site in the jekyll/builder container
3131
run: |
3232
docker run \
3333
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
34-
jekyll/builder:latest /bin/bash -c "chmod a+w /srv/jekyll/Gemfile.lock && chmod 777 /srv/jekyll && jekyll build --future"
34+
jekyll/builder:latest /bin/bash -c "chmod a+w /srv/jekyll/Gemfile.lock && chmod 777 /srv/jekyll && jekyll build --future"

0 commit comments

Comments
 (0)