mirror of
https://github.com/ipfs/awesome-ipfs.git
synced 2024-11-20 11:28:35 -05:00
81c36441e1
Co-Authored-By: Marcin Rataj <lidel@lidel.org>
31 lines
653 B
YAML
31 lines
653 B
YAML
name: auto build data
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- data/**
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- uses: actions/setup-node@master
|
|
with:
|
|
node-version: 13
|
|
- name: build
|
|
# env:
|
|
run: |
|
|
npm --version
|
|
node --version
|
|
npm ci
|
|
npm run lint
|
|
npm run build
|
|
- name: Push changes
|
|
if: success()
|
|
uses: ad-m/github-push-action@v0.5.0
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|