Skip to content

Commit

Permalink
npm install in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed Oct 9, 2023
1 parent e130c06 commit 089c981
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- name: install esbuild
run: |
curl -fsSL https://esbuild.github.io/dl/latest | sh
mkdir -p $HOME/.local/bin
mv esbuild $HOME/.local/bin
- uses: actions/configure-pages@v3
- run: npm install
- run: make site
- uses: actions/upload-pages-artifact@v2
with:
Expand Down
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ site: index.html toots.css $(SRC)
rm -rf $@
mkdir -p $@
cp index.html toots.css $@
which esbuild
file `which esbuild`
esbuild --outdir=site --bundle $(SRC)

# Auto-rebuild and serve the site, for development.
Expand Down

0 comments on commit 089c981

Please sign in to comment.