Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit c1bacb3

Browse files
committed
Add Github Actions CI workflow.
1 parent f418501 commit c1bacb3

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/tests.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Node.js CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
tests:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
include:
12+
- webpack-version: 5
13+
node-version: 15.x
14+
- webpack-version: 4
15+
node-version: 14.x
16+
- webpack-version: 3
17+
node-version: 6.x
18+
- webpack-version: 2
19+
node-version: 6.x
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v1
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
- run: npm ci || npm install
28+
- run: npm rm webpack
29+
- name: Install Webpack
30+
env:
31+
WEBPACK_VERSION: ${{ matrix.webpack-version }}
32+
run: npm install webpack@$WEBPACK_VERSION --ignore-scripts || true
33+
- run: npm test

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy