From 90ccf961a0c8a39cea595aee26a87598314fc7cd Mon Sep 17 00:00:00 2001 From: David Anson Date: Mon, 27 Feb 2023 18:38:42 -0800 Subject: [PATCH] Slightly simplify setup-node/Node 14 workaround for GitHub Actions. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73bf8718..6d884a8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v3 - name: Edit .npmrc to avoid setup-node issue with Node 14 if: ${{ matrix.node-version == '14' }} - run: perl -i -p -e 's/(ignore-scripts=true)/# $1/' .npmrc && git add .npmrc && git config --global user.name 'User' && git config --global user.email 'user@example.com' && git commit -m 'Edit .npmrc to avoid setup-node issue with Node 14' + run: perl -i -p -e 's/(ignore-scripts=true)/# $1/' .npmrc && git add .npmrc - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: