This commit is contained in:
ciaochaos 2020-05-01 13:11:42 +08:00
parent 3919072ecd
commit 2e9058799b
3 changed files with 35 additions and 34 deletions

View File

@ -1,29 +1,16 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node name: Continuous Integration #action名称
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions on: [push] #在推送的时候运行此action
name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs: jobs:
build: build_job:
runs-on: ubuntu-latest #运行环境
runs-on: ubuntu-latest name: build
strategy:
matrix:
node-version: [10.x, 12.x]
steps: steps:
- uses: actions/checkout@v2 # check out the repository
- name: Use Node.js ${{ matrix.node-version }} - name: Checkout
uses: actions/setup-node@v1 uses: actions/checkout@v2 #这里使用了github官方提供的action,checkout项目到虚拟机上
with:
node-version: ${{ matrix.node-version }} - name: Install Dependencies
- run: npm ci run: yarn
- run: npm run build --if-present - name: Build
- run: npm test run: yarn build

View File

@ -11,8 +11,9 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="78c692f3-8e9f-49c7-86c1-0c5e9d711b1f" name="Default Changelist" comment="0.1.0.1"> <list default="true" id="78c692f3-8e9f-49c7-86c1-0c5e9d711b1f" name="Default Changelist" comment="0.1.0.1">
<change beforePath="$PROJECT_DIR$/.github/workflows/nodejs.yml" beforeDir="false" afterPath="$PROJECT_DIR$/.github/workflows/nodejs.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" /> <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -77,7 +78,7 @@
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1588240852207</updated> <updated>1588240852207</updated>
<workItem from="1588240855414" duration="15673000" /> <workItem from="1588240855414" duration="15673000" />
<workItem from="1588305721761" duration="1874000" /> <workItem from="1588305721761" duration="2443000" />
</task> </task>
<task id="LOCAL-00001" summary="0.1.0.1"> <task id="LOCAL-00001" summary="0.1.0.1">
<created>1588308749650</created> <created>1588308749650</created>
@ -93,7 +94,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1588308755539</updated> <updated>1588308755539</updated>
</task> </task>
<option name="localTasksCounter" value="3" /> <task id="LOCAL-00003" summary="0.1.0.1">
<created>1588308831869</created>
<option name="number" value="00003" />
<option name="presentableId" value="LOCAL-00003" />
<option name="project" value="LOCAL" />
<updated>1588308831869</updated>
</task>
<option name="localTasksCounter" value="4" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
@ -120,17 +128,22 @@
<screen x="0" y="23" width="2541" height="1057" /> <screen x="0" y="23" width="2541" height="1057" />
</state> </state>
<state x="1161" y="421" key="#Notifications/428.1103.1680.1027/0.23.2541.1057/-1600.203.1600.877@0.23.2541.1057" timestamp="1588307553058" /> <state x="1161" y="421" key="#Notifications/428.1103.1680.1027/0.23.2541.1057/-1600.203.1600.877@0.23.2541.1057" timestamp="1588307553058" />
<state x="870" y="291" key="Vcs.Push.Dialog.v2" timestamp="1588308783180"> <state x="870" y="291" key="Vcs.Push.Dialog.v2" timestamp="1588308840034">
<screen x="0" y="23" width="2541" height="1057" /> <screen x="0" y="23" width="2541" height="1057" />
</state> </state>
<state x="870" y="291" key="Vcs.Push.Dialog.v2/428.1103.1680.1027/0.23.2541.1057/-1600.203.1600.877@0.23.2541.1057" timestamp="1588308783180" /> <state x="870" y="291" key="Vcs.Push.Dialog.v2/428.1103.1680.1027/0.23.2541.1057/-1600.203.1600.877@0.23.2541.1057" timestamp="1588308840034" />
<state x="997" y="347" key="git4idea.merge.GitPullDialog" timestamp="1588309763146">
<screen x="0" y="23" width="2541" height="1057" />
</state>
<state x="997" y="347" key="git4idea.merge.GitPullDialog/428.1103.1680.1027/0.23.2541.1057/-1600.203.1600.877@0.23.2541.1057" timestamp="1588309763146" />
<state x="1092" y="452" key="git4idea.remote.GitConfigureRemotesDialog" timestamp="1588308606948"> <state x="1092" y="452" key="git4idea.remote.GitConfigureRemotesDialog" timestamp="1588308606948">
<screen x="0" y="23" width="2541" height="1057" /> <screen x="0" y="23" width="2541" height="1057" />
</state> </state>
<state x="1092" y="452" key="git4idea.remote.GitConfigureRemotesDialog/428.1103.1680.1027/0.23.2541.1057/-1600.203.1600.877@0.23.2541.1057" timestamp="1588308606948" /> <state x="1092" y="452" key="git4idea.remote.GitConfigureRemotesDialog/428.1103.1680.1027/0.23.2541.1057/-1600.203.1600.877@0.23.2541.1057" timestamp="1588308606948" />
<state x="935" y="256" key="run.anything.popup" timestamp="1588250759548"> <state x="928" y="256" key="run.anything.popup" timestamp="1588308977479">
<screen x="0" y="23" width="2560" height="1057" /> <screen x="0" y="23" width="2541" height="1057" />
</state> </state>
<state x="935" y="256" key="run.anything.popup/-1600.203.1600.877/428.1103.1680.1027/0.23.2560.1057@0.23.2560.1057" timestamp="1588250759548" /> <state x="935" y="256" key="run.anything.popup/-1600.203.1600.877/428.1103.1680.1027/0.23.2560.1057@0.23.2560.1057" timestamp="1588250759548" />
<state x="928" y="256" key="run.anything.popup/428.1103.1680.1027/0.23.2541.1057/-1600.203.1600.877@0.23.2541.1057" timestamp="1588308977479" />
</component> </component>
</project> </project>

View File

@ -31,5 +31,6 @@
"last 1 firefox version", "last 1 firefox version",
"last 1 safari version" "last 1 safari version"
] ]
} },
"homepage": "https://ciaochaos.github.io/qrbtf"
} }