File tree 4 files changed +39
-15
lines changed
4 files changed +39
-15
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ branches :
9
+ - master
10
+
11
+ jobs :
12
+ validate :
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - uses : actions/checkout@v3
17
+
18
+ - name : Use Node.js (lts/*)
19
+ uses : actions/setup-node@v3
20
+ with :
21
+ node-version : lts/*
22
+ cache : ' npm'
23
+
24
+ - name : npm ci
25
+ run : npm ci
26
+
27
+ - name : Validate
28
+ run : npm run validate
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # Custom New Tab Page [ ![ Build Status ] ( https://travis-ci.org/MethodGrab/firefox-custom-new-tab-page.svg?branch=master )] ( https://travis-ci.org/MethodGrab/firefox-custom-new-tab-page )
1
+ # Custom New Tab Page
2
2
3
- [ ![ Version] ( https://img.shields.io/amo/v/custom-new-tab-page )] [ amo ]
4
- [ ![ Rating] ( https://img.shields.io/amo/rating/custom-new-tab-page )] [ amo ]
5
- [ ![ Users] ( https://img.shields.io/amo/users/custom-new-tab-page )] [ amo ]
6
- [ ![ Downloads] ( https://img.shields.io/amo/dw/custom-new-tab-page )] [ amo ]
3
+ [ ![ GitHub Workflow Status] ( https://img.shields.io/github/workflow/status/MethodGrab/firefox-custom-new-tab-page/CI?style=flat-square )] ( https://github.com/MethodGrab/firefox-custom-new-tab-page/actions/workflows/CI.yaml )
4
+ [ ![ Version] ( https://img.shields.io/amo/v/custom-new-tab-page?style=flat-square )] [ amo ]
5
+ [ ![ Rating] ( https://img.shields.io/amo/rating/custom-new-tab-page?style=flat-square )] [ amo ]
6
+ [ ![ Users] ( https://img.shields.io/amo/users/custom-new-tab-page?style=flat-square )] [ amo ]
7
+ [ ![ Downloads] ( https://img.shields.io/amo/dw/custom-new-tab-page?style=flat-square )] [ amo ]
7
8
8
9
> A Firefox extension that allows you to specify a custom URL to be shown when opening a new tab, _ without changing the address bar content_ .
9
10
Original file line number Diff line number Diff line change 15
15
" url"
16
16
],
17
17
"scripts" : {
18
- "test" : " npm run lint && npm run lint-ext" ,
19
- "lint" : " eslint --max-warnings 0 \" **/*.js\" " ,
20
- "lint-ext" : " web-ext lint --source-dir src" ,
18
+ "lint" : " npm run lint:code && npm run lint:ext" ,
19
+ "lint:code" : " eslint --max-warnings 0 \" **/*.js\" " ,
20
+ "lint:ext" : " web-ext lint --source-dir src" ,
21
+ "package" : " web-ext build --source-dir src --ignore-files .DS_Store" ,
21
22
"start" : " web-ext run --source-dir src --firefox=firefoxdeveloperedition" ,
22
- "package " : " web-ext build --source-dir src --ignore-files .DS_Store "
23
+ "validate " : " npm run lint "
23
24
},
24
25
"devDependencies" : {
25
26
"@methodgrab/eslint-config-standard" : " ^0.10.0" ,
You can’t perform that action at this time.
0 commit comments