From: Shuanglei Tao Date: Sat, 30 Nov 2019 01:21:18 +0000 (+0800) Subject: ci: pin node version to 12.x X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=706479909aac9712892a3bab9d5a9a78cb190159;p=ttyd.git ci: pin node version to 12.x --- diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 17d4536..5c419c0 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -11,15 +11,11 @@ on: jobs: build: runs-on: ubuntu-16.04 - strategy: - matrix: - node-version: [8.x, 10.x, 12.x] steps: - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + - uses: actions/setup-node@v1 with: - node-version: ${{ matrix.node-version }} + node-version: '12.x' - name: yarn install, check and build run: | cd html diff --git a/.travis.yml b/.travis.yml index 059fb39..1a2727b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: node_js node_js: - - "10" + - "12" services: docker env: - LIBWEBSOCKETS_VERSION=3.1.0