Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
Removed node 10 and 12
Matrix build with node 16
  • Loading branch information
timea-solid authored Mar 10, 2022
1 parent 46ac1ee commit 9a963b4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ jobs:
strategy:
matrix:
node-version:
- 10.x
- 12.x
- 14.x
- 15.x
- 16.x
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -29,7 +28,7 @@ jobs:
- run: npm run build
- run: npm run bundlesize
- name: Save build
if: matrix.node-version == '14.x'
if: matrix.node-version == '16.x'
uses: actions/upload-artifact@v2
with:
name: build
Expand Down Expand Up @@ -61,7 +60,7 @@ jobs:
name: build
- uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 16.x
- uses: rlespinasse/github-slug-action@v3.x
- name: Append commit hash to package version
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
Expand Down

0 comments on commit 9a963b4

Please sign in to comment.