mirror of
https://github.com/fluencelabs/libp2p-ts
synced 2025-03-16 18:20:50 +00:00
Merge pull request #44 from polkadot-js/jg-gh-actions
Swap to GH actions for CI
This commit is contained in:
commit
5aefa41943
@ -1,24 +0,0 @@
|
||||
version: 2
|
||||
jobs:
|
||||
build:
|
||||
branches:
|
||||
ignore:
|
||||
- gh-pages
|
||||
working_directory: ~/polkadot-js
|
||||
docker:
|
||||
- image: circleci/node:10
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
key: dependency-cache-{{ checksum "yarn.lock" }}
|
||||
- run:
|
||||
name: install-deps
|
||||
command: yarn install --frozen-lockfile
|
||||
- save_cache:
|
||||
key: dependency-cache-{{ checksum "yarn.lock" }}
|
||||
paths:
|
||||
- ./node_modules
|
||||
- ~/.cache/yarn
|
||||
- run:
|
||||
name: build
|
||||
command: yarn polkadot-dev-circleci-build
|
7
.github/workflows/push-master.yml
vendored
7
.github/workflows/push-master.yml
vendored
@ -19,6 +19,11 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: build
|
||||
env:
|
||||
GH_PAT: ${{ secrets.GH_PAT }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
run: |
|
||||
yarn install --frozen-lockfile
|
||||
yarn build
|
||||
CI_NO_BETA=true yarn polkadot-dev-ghact-build
|
||||
yarn polkadot-dev-ghact-deploy
|
||||
|
18
.travis.yml
18
.travis.yml
@ -1,18 +0,0 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- "10"
|
||||
before_install:
|
||||
- curl -o- -L https://yarnpkg.com/install.sh | bash
|
||||
- export PATH=$HOME/.yarn/bin:$(yarn global bin):$PATH
|
||||
cache:
|
||||
yarn: true
|
||||
directories:
|
||||
- node_modules
|
||||
script:
|
||||
- CI_NO_BETA=true yarn polkadot-dev-travis-build
|
||||
deploy:
|
||||
skip_cleanup: true
|
||||
provider: script
|
||||
script: yarn polkadot-dev-travis-deploy
|
||||
on:
|
||||
branch: master
|
@ -19,6 +19,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.6.2",
|
||||
"@polkadot/dev": "^0.32.0-beta.4"
|
||||
"@polkadot/dev": "^0.32.0-beta.6"
|
||||
}
|
||||
}
|
||||
|
@ -1777,10 +1777,10 @@
|
||||
once "^1.4.0"
|
||||
universal-user-agent "^4.0.0"
|
||||
|
||||
"@polkadot/dev@^0.32.0-beta.4":
|
||||
version "0.32.0-beta.4"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.32.0-beta.4.tgz#dee47a0490fcb6d97603396227a20e5c50ee1557"
|
||||
integrity sha512-IDWrG5q7VxH5ObR6xRdATj6BzNxrbIzgRmVy3FClVaBTwp0E/FAiDveeG1bJwVIco/xpLCA649Gl1aYmSZgIHQ==
|
||||
"@polkadot/dev@^0.32.0-beta.6":
|
||||
version "0.32.0-beta.6"
|
||||
resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.32.0-beta.6.tgz#e013431e24eefcff6374f12cad6d0b8aee3e8a97"
|
||||
integrity sha512-GlDmiN99+EvxctoL0TD3Raqfuz9eaOGTbS2Nt/4vQfy7nmLGNdQHU45lIkQag/kdQow5tMsUueaQbARcKcplYw==
|
||||
dependencies:
|
||||
"@babel/cli" "^7.6.2"
|
||||
"@babel/core" "^7.6.2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user