Ver código fonte

chore(workflow and funding)

Ryan Chandler 5 anos atrás
pai
commit
818c0bc75a
4 arquivos alterados com 43 adições e 0 exclusões
  1. 1 0
      .github/FUNDING.yml
  2. 37 0
      .github/workflows/tests.yml
  3. 1 0
      .gitignore
  4. 4 0
      yarn.lock

+ 1 - 0
.github/FUNDING.yml

@@ -0,0 +1 @@
+github: ryangjchandler

+ 37 - 0
.github/workflows/tests.yml

@@ -0,0 +1,37 @@
+name: Tests
+
+on:
+  pull_request:
+  push:
+    branches:
+      - master
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+
+    strategy:
+      matrix:
+        NODE_VERSION: [12.x]
+
+    env:
+      CI: true
+
+    steps:
+      - uses: actions/checkout@v1
+        with:
+          ref: 'master'
+
+      - name: Use Node.js ${{ matrix.NODE_VERSION }}
+        uses: actions/setup-node@v1
+        with:
+          node-version: ${{ matrix.NODE_VERSION }}
+
+      - name: Install dependencies
+        run: yarn install --frozen-lockfile
+
+      - name: Build
+        run: yarn build
+
+      - name: Run tests
+        run: yarn test

+ 1 - 0
.gitignore

@@ -0,0 +1 @@
+/node_modules

+ 4 - 0
yarn.lock

@@ -0,0 +1,4 @@
+# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
+# yarn lockfile v1
+
+