プラグイン名が重複していると言われる問題を修正 #1665 #248
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
# (memo) | |
# GitHubで頻繁にブラウザテストが失敗するので | |
# コミット時のテストを簡易化しています。 | |
# ただし、リリース前には必ず全テスト実行するように | |
# publish用のスクリプトを追加してミスを防ぎます。 | |
# [詳細] https://github.com/kujirahand/nadesiko3/issues/1037 | |
name: Node.js CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x, 18.x] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# 各種ライブラリをインストール | |
- run: npm install | |
# 各種ビルドしてテストする | |
- run: npm run build | |
- run: npm run test | |