diff --git a/.github/workflows/auto-build.yml b/.github/workflows/auto-build.yml index 1353d9c..b256c39 100644 --- a/.github/workflows/auto-build.yml +++ b/.github/workflows/auto-build.yml @@ -5,13 +5,12 @@ name: BuildCI on: push: - branches: [ master, enc ] + branches: [master, enc] pull_request: - branches: [ master, enc ] + branches: [master, enc] jobs: build: - runs-on: ubuntu-latest strategy: @@ -20,17 +19,16 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - - run: npm install - - run: npm run build - - uses: actions/upload-artifact@v2 - with: - name: my-dist - path: | - main.js - manifest.json - + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm run build + - uses: actions/upload-artifact@v2 + with: + name: my-dist + path: | + main.js + manifest.json