This repository was archived by the owner on Jan 22, 2019. It is now read-only.
File tree 7 files changed +12212
-22525
lines changed 7 files changed +12212
-22525
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ verifyConditions:
7
7
prepare :
8
8
# Build bundles and output them to the dist folders
9
9
- path : ' @semantic-release/exec'
10
- cmd : npm run build
10
+ cmd : yarn run build
11
11
# Update Firefox manifest version, create xpi and zip sources
12
12
- path : semantic-release-firefox
13
13
distFolder : &firefoxDistFolder build/firefox
@@ -48,8 +48,8 @@ publish:
48
48
49
49
Running from source:
50
50
51
- 1. With npm 6 installed, run `npm install `
52
- 2. npm run build
51
+ 1. With yarn 1.9.4 installed, run `yarn `
52
+ 2. yarn run build
53
53
3. Go to about:debugging
54
54
4. Select "Enable add-on debugging"
55
55
5. Load Temporary Add-on
Original file line number Diff line number Diff line change 12
12
- FORCE_COLOR=1
13
13
14
14
cache :
15
+ yarn : true
15
16
directories :
16
- - ~/.npm
17
+ - node_modules
17
18
- ~/.cache
18
19
20
+ before_install :
21
+ - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.9.4
22
+ - export PATH="$HOME/.yarn/bin:$PATH"
23
+
19
24
install :
20
- - npm ci
25
+ - yarn --frozen-lockfile
21
26
22
27
jobs :
23
28
include :
@@ -26,14 +31,14 @@ jobs:
26
31
- CYPRESS_INSTALL_BINARY=0
27
32
- PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
28
33
script :
29
- - npm run prettier
30
- - npm run tslint
31
- - npm run build
34
+ - yarn run prettier
35
+ - yarn run tslint
36
+ - yarn run build
32
37
- stage : test
33
38
env :
34
39
- PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
35
40
script :
36
- - npm run test:e2e
41
+ - yarn run test:e2e
37
42
- stage : release
38
43
env :
39
44
- CYPRESS_INSTALL_BINARY=0
Original file line number Diff line number Diff line change 3
3
default : bundle
4
4
5
5
install :
6
- npm install
6
+ yarn install
7
7
8
8
build : install
9
- npm run tslint
10
- npm run build
9
+ yarn run tslint
10
+ yarn run build
11
11
12
12
bundle : clean build all
13
13
@@ -39,10 +39,10 @@ watch-all:
39
39
fswatch -o ./dist | xargs -n1 $(MAKE ) all
40
40
41
41
test-unit :
42
- npm run test
42
+ yarn run test
43
43
44
44
test-watch :
45
- npm run test:auto
45
+ yarn run test:auto
46
46
47
47
48
48
selenium-chrome : build
Original file line number Diff line number Diff line change @@ -64,16 +64,16 @@ It works as follows:
64
64
## Requirements
65
65
66
66
- ` node `
67
- - ` npm `
67
+ - ` yarn `
68
68
- ` make `
69
69
70
70
## Development
71
71
72
72
For each browser run:
73
73
74
74
``` bash
75
- $ npm install
76
- $ npm run dev
75
+ $ yarn
76
+ $ yarn run dev
77
77
```
78
78
79
79
Now, follow the steps below for the browser you intend to work with.
@@ -97,7 +97,7 @@ Click reload for Sourcegraph at `chrome://extensions`
97
97
In a separate terminal session run:
98
98
99
99
``` bash
100
- npm run dev:firefox
100
+ yarn run dev:firefox
101
101
```
102
102
103
103
A Firefox window will be spun up with the extension already installed.
@@ -109,7 +109,7 @@ Save a file and wait for webpack to finish rebuilding.
109
109
#### Caveats
110
110
111
111
The window that is spun up is completely separate from any existing sessions you have on Firefox.
112
- You'll have to sign into everything at the begining of each development session(each time you run ` npm run dev:firefox` ).
112
+ You'll have to sign into everything at the begining of each development session(each time you run ` yarn run dev:firefox` ).
113
113
You should ensure you're signed into any Sourcegraph instance you point the extension at as well as Github.
114
114
115
115
### Firefox (manual)
You can’t perform that action at this time.
0 commit comments