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: on:
push: push:
branches: [ master, enc ] branches: [master, enc]
pull_request: pull_request:
branches: [ master, enc ] branches: [master, enc]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
@ -20,17 +19,16 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2 uses: actions/setup-node@v2
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- run: npm install - run: npm install
- run: npm run build - run: npm run build
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: my-dist name: my-dist
path: | path: |
main.js main.js
manifest.json manifest.json