mirror of
https://github.com/fluencelabs/libp2p-ts
synced 2025-03-15 01:30:50 +00:00
43 lines
1002 B
YAML
43 lines
1002 B
YAML
name: Master
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build_code:
|
|
name: Build Code
|
|
if: "! contains(github.event.head_commit.message, '[CI Skip]')"
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [12.x]
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
with:
|
|
token: ${{ secrets.GH_PAT }}
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v1
|
|
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
|
|
CI_NO_BETA=true yarn polkadot-dev-ghact-build
|
|
|
|
dummy:
|
|
name: Dummy
|
|
if: "contains(github.event.head_commit.message, '[CI Skip]')"
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [12.x]
|
|
steps:
|
|
- name: dummy
|
|
run: |
|
|
echo "Dummy skip step"
|