This commit is contained in:
fyears 2021-11-02 00:50:12 +08:00
parent 9fc67e37f6
commit 010561596e

View File

@ -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