diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 8801dc52..fa458c75 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -20,14 +20,13 @@ jobs: strategy: matrix: os: [macos-latest, windows-latest, ubuntu-latest] - node-version: [15.x] - steps: - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js uses: actions/setup-node@v2 with: - node-version: ${{ matrix.node-version }} + node-version: '*' + check-latest: true - name: log versions run: node --version && npm --version && yarn --version - name: install dependecies @@ -43,7 +42,7 @@ jobs: NODE_OPTIONS: --max-old-space-size=4096 - uses: actions/upload-artifact@master with: - name: dev-test-website-${{ runner.os }}-node-${{ matrix.node-version }} + name: dev-test-website-${{ runner.os }} path: dev-test e2e-with-cypress: @@ -53,15 +52,15 @@ jobs: strategy: matrix: machine: [1, 2, 3, 4, 5, 6, 7, 8] - node-version: [15.x] fail-fast: false steps: - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js uses: actions/setup-node@v2 with: - node-version: ${{ matrix.node-version }} + node-version: '*' + check-latest: true - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" @@ -73,7 +72,7 @@ jobs: ${{ runner.os }}-yarn- - uses: actions/download-artifact@master with: - name: dev-test-website-${{ runner.os }}-node-${{ matrix.node-version }} + name: dev-test-website-${{ runner.os }} path: dev-test - name: npm install run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f51c7b89..2f85226d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,19 +22,15 @@ jobs: publish: needs: check-permission runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [15.x] - steps: - uses: actions/checkout@v2 with: token: ${{ secrets.GIT_TOKEN }} - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js uses: actions/setup-node@v2 with: - node-version: ${{ matrix.node-version }} + node-version: '*' + check-latest: true - uses: actions/cache@v2 with: path: ~/.cache/yarn diff --git a/.nvmrc b/.nvmrc index 60d3b2f4..64f5a0a6 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -15 +node diff --git a/website/.nvmrc b/website/.nvmrc index 60d3b2f4..64f5a0a6 100644 --- a/website/.nvmrc +++ b/website/.nvmrc @@ -1 +1 @@ -15 +node