File tree Expand file tree Collapse file tree 5 files changed +64
-15
lines changed Expand file tree Collapse file tree 5 files changed +64
-15
lines changed Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ env :
9+ HUSKY : 0
10+
11+ jobs :
12+ test :
13+ strategy :
14+ matrix :
15+ os : [windows-latest, macos-latest, ubuntu-latest]
16+ name : test on ${{ matrix.os }}
17+ runs-on : ${{ matrix.os }}
18+ steps :
19+ - uses : actions/checkout@v2
20+ - uses : actions/setup-node@v2
21+ with :
22+ node-version : lts/*
23+ - run : npm install
24+ - run : npm run test:coverage
25+ - run : npx codecov
26+ release :
27+ name : release
28+ runs-on : ubuntu-latest
29+ needs : test
30+ env :
31+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
32+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
33+ steps :
34+ - uses : actions/checkout@v2
35+ - uses : actions/setup-node@v2
36+ with :
37+ node-version : lts/*
38+ - run : npm install
39+ - run : npm run build
40+ - run : npx semantic-release
Original file line number Diff line number Diff line change 1+ name : pull-request
2+
3+ on : pull_request
4+
5+ env :
6+ HUSKY : 0
7+
8+ jobs :
9+ test :
10+ strategy :
11+ matrix :
12+ os : [windows-latest, macos-latest, ubuntu-latest]
13+ name : test on ${{ matrix.os }}
14+ runs-on : ${{ matrix.os }}
15+ steps :
16+ - uses : actions/checkout@v2
17+ - uses : actions/setup-node@v2
18+ with :
19+ node-version : lts/*
20+ - run : npm install
21+ - run : npm run test:coverage
22+ - run : npx codecov
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11[ ![ npm] ( https://img.shields.io/npm/dt/rollup-plugin-external-assets )] ( https://www.npmjs.com/package/rollup-plugin-external-assets )
22[ ![ npm] ( https://img.shields.io/npm/v/rollup-plugin-external-assets )] ( https://www.npmjs.com/package/rollup-plugin-external-assets )
3- [ ![ Build Status ] ( https://travis-ci .com/soufyakoub /rollup-plugin-external-assets. svg?branch=master )] ( https://travis-ci .com/soufyakoub /rollup-plugin-external-assets )
3+ [ ![ build ] ( https://github .com/recursive-beast /rollup-plugin-external-assets/actions/workflows/build.yml/badge. svg )] ( https://github .com/recursive-beast /rollup-plugin-external-assets/actions/workflows/build.yml )
44[ ![ codecov] ( https://codecov.io/gh/soufyakoub/rollup-plugin-external-assets/branch/master/graph/badge.svg )] ( https://codecov.io/gh/soufyakoub/rollup-plugin-external-assets )
55[ ![ MIT license] ( https://img.shields.io/badge/License-MIT-blue.svg )] [ 1 ]
66
Original file line number Diff line number Diff line change 1111 "scripts" : {
1212 "test" : " rimraf tests/coverage && cross-env ROLLUP_WARNINGS=false jest" ,
1313 "test:warn" : " rimraf tests/coverage && cross-env ROLLUP_WARNINGS=true jest" ,
14+ "test:coverage" : " rimraf tests/coverage && cross-env ROLLUP_WARNINGS=false jest --coverage" ,
1415 "coverage" : " codecov" ,
1516 "clean" : " rimraf dist tests/coverage" ,
1617 "build" : " rimraf dist && rollup -c" ,
You can’t perform that action at this time.
0 commit comments