From d7b7bbb5bbd70a1a05d80a1e9b6e344421c6eb4f Mon Sep 17 00:00:00 2001 From: David Young Date: Sun, 5 Nov 2023 12:38:52 +0000 Subject: [PATCH] Updated Node versions in workflows --- .github/workflows/ci.yml | 2 +- .github/workflows/publish.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cdaef6f..654cd39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '16.x' + node-version: '20.x' - run: npm ci - run: npm run lint - run: npm test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6f8a393..258a26a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '16.x' + node-version: '20.x' - run: npm ci - run: npm run lint - run: npm test @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '16.x' + node-version: '20.x' - run: npm ci - run: npm pack - name: Upload Artifact @@ -52,7 +52,7 @@ jobs: name: package - uses: actions/setup-node@v2 with: - node-version: '16.x' + node-version: '20.x' registry-url: ${{ matrix.registry-url }} - run: npm publish $(ls *.tgz) env: