File tree 3 files changed +23
-4
lines changed
3 files changed +23
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : test
2
+ on : [push, pull_request]
3
+ env :
4
+ CI : true
5
+ jobs :
6
+ test :
7
+ name : " Test on Node.js ${{ matrix.node-version }}"
8
+ runs-on : ubuntu-latest
9
+ strategy :
10
+ matrix :
11
+ node-version : [10, 12, 14]
12
+ steps :
13
+ - name : checkout
14
+ uses : actions/checkout@v2
15
+ - name : setup Node.js ${{ matrix.node-version }}
16
+ uses : actions/setup-node@v1
17
+ with :
18
+ node-version : ${{ matrix.node-version }}
19
+ - name : Install
20
+ run : yarn install
21
+ - name : Test
22
+ run : yarn test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # can-npm-publish [ ![ Build Status] ( https://travis-ci.org /azu/can-npm-publish.svg?branch=master )] ( https://travis-ci.org /azu/can-npm-publish )
1
+ # can-npm-publish [ ![ Actions Status: test ] ( https://github.com /azu/can-npm-publish/workflows/test/badge .svg )] ( https://github.com /azu/can-npm-publish/actions?query=workflow%3A"test" )
2
2
3
3
A command line tool that check to see if ` npm publish ` is possible.
4
4
You can’t perform that action at this time.
0 commit comments