File tree Expand file tree Collapse file tree 4 files changed +46
-22
lines changed Expand file tree Collapse file tree 4 files changed +46
-22
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ branches :
5+ - master
6+
7+ jobs :
8+ release :
9+ name : release
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@master
13+ - uses : actions/setup-node@v1
14+ with :
15+ node-version : " 12.x"
16+ - run : npm ci
17+ - run : npx semantic-release
18+ env :
19+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Test
2+ on :
3+ push :
4+ branches :
5+ - master
6+ pull_request :
7+ types : [opened, synchronize]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ matrix :
14+ node_version : [8, 10, 12]
15+
16+ steps :
17+ - uses : actions/checkout@master
18+ - name : Use Node.js ${{ matrix.node_version }}
19+ uses : actions/setup-node@v1
20+ with :
21+ node-version : ${{ matrix.node_version }}
22+ - name : Install
23+ run : npm ci
24+ - name : Test
25+ run : npm test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# attr-accept
22JavaScript implementation of the "accept" attribute for HTML5 ` <input type="file"> `
33
4- [ ![ Build Status ] ( https://travis-ci.org /react-dropzone/attr-accept.svg?branch=master )] ( https://travis-ci.org/react-dropzone/attr-accept )
4+ ![ ] ( https://github.com /react-dropzone/attr-accept/workflows/Test/badge.svg )
55[ ![ npm version] ( https://badge.fury.io/js/attr-accept.svg )] ( https://badge.fury.io/js/attr-accept )
66[ ![ semantic-release] ( https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg )] ( https://github.com/semantic-release/semantic-release )
77
You can’t perform that action at this time.
0 commit comments