diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 99538b2a1..8422429a5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3.3.0 with: - node-version: 12.x + node-version: 16.x - name: Get npm cache directory id: npm-cache diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6e33517a2..80eb61094 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,7 +18,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3.3.0 with: - node-version: 12.x + node-version: 16.x - name: Get npm cache directory id: npm-cache diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index e20191acc..4e70e3b6c 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -21,7 +21,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3.3.0 with: - node-version: 12.x + node-version: 16.x - name: Get npm cache directory id: npm-cache diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7e9cb7f14..9231e2523 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,7 +20,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3.3.0 with: - node-version: 12.x + node-version: 16.x registry-url: 'https://registry.npmjs.org' env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e474187b2..3cdcf2897 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,23 +25,24 @@ jobs: - name: Setup Node uses: actions/setup-node@v3.3.0 with: - node-version: 14.x + node-version: 16.x - - name: Get yarn cache directory - id: yarn-cache + - name: Get npm cache directory + id: npm-cache run: | - echo "::set-output name=dir::$(yarn cache dir)" - - - name: Setup yarn cache + echo "::set-output name=dir::$(npm config get cache)" + - name: Setup npm cache uses: actions/cache@v3 with: - path: ${{ steps.yarn-cache.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + path: ${{ steps.npm-cache.outputs.dir }} + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | - ${{ runner.os }}-yarn- + ${{ runner.os }}-node- - name: Install Dependencies - run: yarn install + run: npm ci || npm install + env: + PUPPETEER_SKIP_DOWNLOAD: true - name: Release run: 'npx release-it --increment ${{ github.event.inputs.increment }}'