diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-06-14 08:55:40 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-06-16 08:36:02 +0200 |
commit | 75efe5351043b8cf5eb432d4da4ca771e64c661d (patch) | |
tree | 8bfee244cfec70e7813f5f53463fd87565628b30 /.github | |
parent | e7a034d43d8b5ce84a51c73f9afaf894c5d10b90 (diff) |
Update actions
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/lint.yml | 36 | ||||
-rw-r--r-- | .github/workflows/node.yml | 15 |
2 files changed, 24 insertions, 27 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d6535c56..fcd068a3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,7 +20,7 @@ jobs: - 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 @@ -38,10 +38,10 @@ jobs: name: cs php${{ matrix.php-versions }} steps: - name: Checkout - uses: actions/checkout@master + 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-versions: [12.x] - - name: eslint node${{ matrix.node-versions }} + name: eslint node steps: - uses: actions/checkout@v2 - - name: Set up node ${{ matrix.node-versions }} - uses: actions/setup-node@v1 + - name: Set up node + uses: actions/setup-node@v2 with: - node-version: ${{ matrix.node-versions }} + 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-versions: [12.x] - - name: stylelint node${{ matrix.node-versions }} + name: stylelint node steps: - uses: actions/checkout@v2 - - name: Set up node ${{ matrix.node-versions }} - uses: actions/setup-node@v1 + - name: Set up node + uses: actions/setup-node@v2 with: - node-version: ${{ matrix.node-versions }} + 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 f44150d6..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-versions: [12.x] - - name: node${{ matrix.node-versions }} + name: node steps: - uses: actions/checkout@v2 - - name: Set up node ${{ matrix.node-versions }} - uses: actions/setup-node@v1 + - name: Set up node + uses: actions/setup-node@v2 with: - node-version: ${{ matrix.node-versions }} + node-version: 14 + + - name: Set up npm7 + run: npm i -g npm@7 - name: Install dependencies & build run: | |