summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-06-14 07:28:17 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-06-15 11:36:47 +0200
commitb8050d0e605f9d1456490c561567c3344dd63cda (patch)
tree4fbf72303ad278d70a32c9d3098fd65aa0f221e6 /.github/workflows
parentde91d5f753e2e4d91a697bc3d5c2720603810390 (diff)
Update actions
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/lint.yml36
-rw-r--r--.github/workflows/node.yml15
2 files changed, 24 insertions, 27 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 9f04b33c..fcd068a3 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -13,14 +13,14 @@ jobs:
strategy:
matrix:
- php-versions: ['7.2', '7.3', '7.4', '8.0']
+ php-versions: ['7.3', '7.4', '8.0']
name: php${{ matrix.php-versions }}
steps:
- uses: actions/checkout@v2
- name: Set up php ${{ matrix.php-versions }}
- uses: shivammathur/setup-php@v1
+ uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: none
@@ -41,7 +41,7 @@ jobs:
uses: actions/checkout@v2
- name: Set up php
- uses: shivammathur/setup-php@master
+ uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: none
@@ -55,18 +55,17 @@ jobs:
node:
runs-on: ubuntu-latest
- strategy:
- matrix:
- node-version: [12.x]
-
- name: eslint node${{ matrix.node-version }}
+ name: eslint node
steps:
- uses: actions/checkout@v2
- - name: Set up node ${{ matrix.node-version }}
- uses: actions/setup-node@v1
+ - name: Set up node
+ uses: actions/setup-node@v2
with:
- node-version: ${{ matrix.node-version }}
+ node-version: 14
+
+ - name: Set up npm7
+ run: npm i -g npm@7
- name: Install dependencies
run: npm ci
@@ -77,18 +76,17 @@ jobs:
stylelint:
runs-on: ubuntu-latest
- strategy:
- matrix:
- node-version: [12.x]
-
- name: stylelint node${{ matrix.node-version }}
+ name: stylelint node
steps:
- uses: actions/checkout@v2
- - name: Set up node ${{ matrix.node-version }}
- uses: actions/setup-node@v1
+ - name: Set up node
+ uses: actions/setup-node@v2
with:
- node-version: ${{ matrix.node-version }}
+ node-version: 14
+
+ - name: Set up npm7
+ run: npm i -g npm@7
- name: Install dependencies
run: npm ci
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml
index a971a7e6..8a53defd 100644
--- a/.github/workflows/node.yml
+++ b/.github/workflows/node.yml
@@ -11,18 +11,17 @@ jobs:
build:
runs-on: ubuntu-latest
- strategy:
- matrix:
- node-version: [12.x]
-
- name: node${{ matrix.node-version }}
+ name: node
steps:
- uses: actions/checkout@v2
- - name: Set up node ${{ matrix.node-version }}
- uses: actions/setup-node@v1
+ - name: Set up node
+ uses: actions/setup-node@v2
with:
- node-version: ${{ matrix.node-version }}
+ node-version: 14
+
+ - name: Set up npm7
+ run: npm i -g npm@7
- name: Install dependencies & build
run: |