diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index e772a1c..c003a54 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -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 -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - -name: Node.js CI - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] +name: Continuous Integration #action名称 +on: [push] #在推送的时候运行此action jobs: - build: - - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [10.x, 12.x] - + build_job: + runs-on: ubuntu-latest #运行环境 + name: build steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - run: npm ci - - run: npm run build --if-present - - run: npm test + # check out the repository + - name: Checkout + uses: actions/checkout@v2 #这里使用了github官方提供的action,checkout项目到虚拟机上 + + - name: Install Dependencies + run: yarn + - name: Build + run: yarn build \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 4095ffc..dbdb43a 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -11,8 +11,9 @@ + - + @@ -120,17 +128,22 @@ - + - + + + + + - - + + + \ No newline at end of file diff --git a/package.json b/package.json index cea4fbe..b216190 100644 --- a/package.json +++ b/package.json @@ -31,5 +31,6 @@ "last 1 firefox version", "last 1 safari version" ] - } + }, + "homepage": "https://ciaochaos.github.io/qrbtf" }