Skip to content

Commit

Permalink
Merge pull request #198 from chenrui333/update-ci
Browse files Browse the repository at this point in the history
build: remove travis, upgrade to use nodejs18
  • Loading branch information
tcort committed Apr 24, 2022
2 parents 7804184 + 1f752ce commit c901aa2
Show file tree
Hide file tree
Showing 4 changed files with 1,795 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
node-version: [14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '10.x'
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm publish
Expand All @@ -35,7 +35,7 @@ jobs:
| sed -e 's/refs\/tags\///g' \
| sed -E 's/v?([0-9]+)\.([0-9]+)\.([0-9]+)(-[a-zA-Z]+(\.[0-9]+)?)?/\1.\2.\3\4\,\1.\2\4\,\1\4/g')" >> $GITHUB_ENV
- name: "Repo: Checkout"
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: "Docker: Build & Publish"
id: build
uses: elgohr/Publish-Docker-Github-Action@master
Expand Down
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit c901aa2

Please sign in to comment.