From a70e8e857456314c1390aabb795bb581c8c0286c Mon Sep 17 00:00:00 2001 From: Luke Hansford Date: Sat, 18 Mar 2023 16:12:09 +0700 Subject: [PATCH] Update build step to use Node 16 --- .github/dependabot.yml | 4 ++++ .github/workflows/npm-publish.yml | 5 +++-- package.json | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d1f0d08..61c651e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,3 +4,7 @@ updates: directory: "/" schedule: interval: "daily" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 84e2ce9..e23e76d 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -8,9 +8,10 @@ jobs: steps: - uses: actions/checkout@v2 # Setup .npmrc file to publish to npm - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v3 with: - node-version: '12.x' + node-version: '16' + check-latest: true registry-url: 'https://registry.npmjs.org' - run: yarn install - run: npm publish diff --git a/package.json b/package.json index 654f9e8..af8ca7f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-to-text", - "version": "2.0.0", + "version": "2.0.1", "description": "Convert react components to plain text without any HTML markup", "keywords": [ "react",