File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : NodeJS with Webpack
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ strategy :
14+ matrix :
15+ node-version : [16.x]
16+ i18next-version : [8.4, 13, 21]
17+
18+ steps :
19+ - uses : actions/checkout@v2
20+
21+ - name : Use Node.js ${{ matrix.node-version }}
22+ uses : actions/setup-node@v1
23+ with :
24+ node-version : ${{ matrix.node-version }}
25+
26+ - name : Build
27+ run : |
28+ npm ci --ignore-scripts
29+ npm install --ignore-scripts i18next@${{ matrix.i18next-version }}
30+ if [ $(echo "${{ matrix.i18next-version }} / 1" | bc) -lt 13 ]; then
31+ npm install --ignore-scripts @types/i18next@${{ matrix.i18next-version }}
32+ fi
33+ npm test
34+
You can’t perform that action at this time.
0 commit comments