Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootlint-server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2021-02-09 09:58:17 +0300
committerXhmikosR <xhmikosr@gmail.com>2021-02-09 09:59:43 +0300
commit11e8e965fc80ca9cf677a83e61d4835057237704 (patch)
treecef6a41c32f946c31511c0a338b45d9c2b489671
parent54cf879ef4828ea2b6c41b8b1d78cdfa5e43912a (diff)
Update Actions
-rw-r--r--.github/workflows/codeql.yml19
-rw-r--r--.github/workflows/test.yml6
2 files changed, 18 insertions, 7 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 00bea3f..b514fed 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -1,22 +1,31 @@
-name: "Code Scanning - Action"
+name: "CodeQL"
on:
push:
+ branches:
+ - master
+ - "!dependabot/**"
+ pull_request:
+ # The branches below must be a subset of the branches above
+ branches:
+ - master
+ schedule:
+ - cron: "0 0 * * 0"
jobs:
- CodeQL-Build:
+ analyze:
+ name: Analyze
runs-on: ubuntu-latest
- strategy:
- fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v2
+ # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
- languages: javascript
+ languages: "javascript"
- name: Autobuild
uses: github/codeql-action/autobuild@v1
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b78954f..3fe0ba2 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,7 +1,9 @@
name: Tests
+
on: [push, pull_request]
+
env:
- CI: true
+ FORCE_COLOR: 2
jobs:
run:
@@ -18,7 +20,7 @@ jobs:
uses: actions/checkout@v2
- name: Set up Node.js
- uses: actions/setup-node@v1
+ uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}