aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMax Isom <[email protected]>2020-11-18 14:03:23 -0500
committerMax Isom <[email protected]>2020-11-18 14:04:42 -0500
commitb8daa73133afc2d3c4e71f424f0bbfcf2363794d (patch)
tree1fa475f7c5dc6e2d7e294055f0a2b93e5915a3be /.github/workflows
parentdd73d8db4517f7f7109a1f11f76550c1d2847321 (diff)
downloadmuse-b8daa73133afc2d3c4e71f424f0bbfcf2363794d.tar.xz
muse-b8daa73133afc2d3c4e71f424f0bbfcf2363794d.zip
Add workflow
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..326b4db
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,25 @@
+name: Lint & build
+
+on: 'push'
+
+jobs:
+ build:
+ name: Lint & build
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+ - name: Cache dependencies
+ uses: actions/cache@v1
+ with:
+ path: ./node_modules
+ key: ${{ runner.OS }}-dependencies-${{ hashFiles('**/yarn.lock') }}
+ restore-keys: |
+ ${{ runner.OS }}-dependencies-${{ env.cache-name }}-
+ ${{ runner.OS }}-dependencies-
+ ${{ runner.OS }}-
+ - name: Install dependencies
+ run: yarn install
+ - name: Run lint
+ run: yarn lint
+ - name: Build
+ run: yarn build