From 743a102146a017e2805579c1bb68ab04a5b621e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles=20=E2=9A=A1?= Date: Mon, 23 Dec 2019 22:42:03 -0800 Subject: [PATCH] github actions --- .github/workflows/node.yml | 29 +++++++++++++++++++++++++++++ .travis.yml | 12 ------------ 2 files changed, 29 insertions(+), 12 deletions(-) create mode 100644 .github/workflows/node.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml new file mode 100644 index 0000000..ceae9cb --- /dev/null +++ b/.github/workflows/node.yml @@ -0,0 +1,29 @@ +name: Node CI + +on: [push,pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [12.x] + + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: Install Yarn + run: npm i -g yarn + - name: Install deps and build package + run: yarn install --frozen-lockfile + - name: Build + run: | + yarn workspace postcss-parker build + yarn workspace postcss-gzip build + yarn workspace obsidian.css build + yarn workspace obsidian-documentation build + diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 907e335..0000000 --- a/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -language: node_js -node_js: - - '10' -cache: - yarn: true -install: - - yarn -script: - - yarn workspace postcss-parker build - - yarn workspace postcss-gzip build - - yarn workspace obsidian.css build - - yarn workspace obsidian-documentation build