Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 2e42d66e
authored
Apr 22, 2020
by
Simon Schick
Committed by
GitHub
Apr 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci(install): use package lock for install (#12154)
1 parent
cae6b4dd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
9 deletions
.travis.yml
CONTRIBUTING.md
appveyor.yml
package-lock.json
.travis.yml
View file @
2e42d66
...
@@ -13,7 +13,7 @@ branches:
...
@@ -13,7 +13,7 @@ branches:
cache
:
npm
cache
:
npm
install
:
install
:
-
npm
install
-
npm
ci
-
|-
-
|-
if [ "$DIALECT" = "postgres-native" ]; then npm install pg-native; fi
if [ "$DIALECT" = "postgres-native" ]; then npm install pg-native; fi
...
...
CONTRIBUTING.md
View file @
2e42d66
...
@@ -36,11 +36,11 @@ Here comes a little surprise: You need [Node.JS](http://nodejs.org).
...
@@ -36,11 +36,11 @@ Here comes a little surprise: You need [Node.JS](http://nodejs.org).
### 2. Install the dependencies
### 2. Install the dependencies
Just "cd" into sequelize directory and run
`npm
install
`
, see an example below:
Just "cd" into sequelize directory and run
`npm
ci
`
, see an example below:
```
sh
```
sh
$
cd
path/to/sequelize
$
cd
path/to/sequelize
$
npm
install
$
npm
ci
```
```
### 3. Database
### 3. Database
...
...
appveyor.yml
View file @
2e42d66
...
@@ -14,12 +14,7 @@ environment:
...
@@ -14,12 +14,7 @@ environment:
install
:
install
:
-
ps
:
Install-Product node $env:NODE_VERSION x64
-
ps
:
Install-Product node $env:NODE_VERSION x64
-
ps
:
|
-
npm ci
$pkg = ConvertFrom-Json (Get-Content -Raw package.json)
$pkg.devDependencies.PSObject.Properties.Remove('sqlite3')
$pkg.devDependencies.PSObject.Properties.Remove('pg-native')
ConvertTo-Json $pkg | Out-File package.json -Encoding UTF8
-
npm install
build
:
off
build
:
off
...
...
package-lock.json
View file @
2e42d66
This diff could not be displayed because it is too large.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment