Skip to content

Commit

Permalink
fix: Node.jsのセットアップとnpm installを忘れていたので追加
Browse files Browse the repository at this point in the history
  • Loading branch information
YuukiToriyama committed Apr 18, 2024
1 parent fa1ab93 commit 3de2ebf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ghpages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'

- name: Install dependencies
run: npm install

- name: Build package
run: npm run build:web

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/upload-npmjs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
registry-url: 'https://registry.npmjs.org'
scope: '@coconmap'

- name: Install dependencies
run: npm install

- name: Publish package
run: npm publish --access public
env:
Expand Down

0 comments on commit 3de2ebf

Please sign in to comment.