From 95dfabc4554588311a9712334670438263803097 Mon Sep 17 00:00:00 2001 From: BetaHuhn Bot Date: Sat, 9 Jan 2021 15:56:04 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Sync=20CI=20workflows=20and=20LI?= =?UTF-8?q?CENSE=20with=20BetaHuhn/github-files=20(#13)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🔄 Synced local '.github/workflows/release.yml' with remote 'workflows/versioning/release.yml' * 🔄 Synced local '.github/workflows/lint.yml' with remote 'workflows/node/lint.yml' * 🔄 Synced local 'LICENSE' with remote 'LICENSE' --- .github/workflows/lint.yml | 10 ++++++++-- .github/workflows/release.yml | 17 ++++------------- LICENSE | 6 +++--- 3 files changed, 15 insertions(+), 18 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f084cb3..ff736f7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,8 +12,14 @@ jobs: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[skip ci]')" steps: - - uses: actions/checkout@v2 - - uses: c-hive/gha-npm-cache@v1 + - name: Checkout + uses: actions/checkout@v2 + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: 14 + - name: Cache node modules + uses: c-hive/gha-npm-cache@v1 - name: Install dependencies run: npm ci - name: Run lint command diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 32c3645..109833d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,27 +5,18 @@ on: - master jobs: release: - name: Build and release + name: Build, lint and release runs-on: ubuntu-18.04 if: "!contains(github.event.head_commit.message, '[skip ci]')" steps: - name: Checkout - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2 - name: Setup Node.js - uses: actions/setup-node@v2.1.4 + uses: actions/setup-node@v2 with: node-version: 14 - name: Cache node modules - uses: actions/cache@v2 - env: - cache-name: cache-node-modules - with: - path: ~/.npm - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-build-${{ env.cache-name }}- - ${{ runner.os }}-build- - ${{ runner.os }}- + uses: c-hive/gha-npm-cache@v1 - name: Install dependencies run: npm ci - name: Build TypeScript diff --git a/LICENSE b/LICENSE index c7c4576..ec3343c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ -The MIT License (MIT) +MIT License -Copyright (c) 2020 Maximilian Schiller +Copyright (c) 2021 Maximilian Schiller Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file +SOFTWARE.