From 3955d83b8dceea3e1752e2fddb551744cf0981c2 Mon Sep 17 00:00:00 2001 From: Alexander Emelin Date: Thu, 7 Sep 2023 20:07:08 +0300 Subject: [PATCH] update CI stack (#251) --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 4 ++-- rollup.config.mjs | 3 +-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4bed8ee5..8289db93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,12 +7,12 @@ jobs: if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository strategy: matrix: - node-version: [16, 18] + node-version: [16, 18, 20] steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - name: Install dependencies diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5bb7d236..a625dd08 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,9 +9,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: 16 - name: Install dependencies diff --git a/rollup.config.mjs b/rollup.config.mjs index 541d3441..e429b660 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -57,8 +57,7 @@ export default [ 'build/esm/json.d.ts', 'build/esm/utils.d.ts', ], - hook: 'writeBundle', - runOnce: true, + hook: 'writeBundle' }), ], output: [