diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index d5f3dc4..c6c8505 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -53,7 +53,7 @@ jobs: - name: Setup Node version uses: actions/setup-node@v2 with: - node-version: 18 + node-version: 20 registry-url: https://registry.npmjs.org/ - name: Setup Git run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 85097fb..4680fb5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,20 +3,20 @@ name: Test Changes on: [push, pull_request] jobs: - test: - runs-on: ubuntu-latest - strategy: - matrix: - node-version: [16.x, 18.x] - steps: - - name: Clone Repository - uses: actions/checkout@v2 - - name: Setup Node version - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: Install dependencies - run: npm ci - - run: npm run build - - name: Run tests - run: npm test + test: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18.x, 20.x] + steps: + - name: Clone Repository + uses: actions/checkout@v2 + - name: Setup Node version + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: Install dependencies + run: npm ci + - run: npm run build + - name: Run tests + run: npm test