From 919a20d016bdfdf38aa5440551f0e831d14754ea Mon Sep 17 00:00:00 2001 From: Leandro Facchinetti Date: Thu, 30 Apr 2020 09:57:37 -0400 Subject: [PATCH] . --- .github/workflows/main.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 609137e..b614598 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,7 +6,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: "13.x" + node-version: "14.x" - run: npm install-ci-test - uses: webfactory/ssh-agent@v0.2.0 with: diff --git a/package.json b/package.json index c67021a..6e7f80b 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "ref": "origin/master", "repo": "git@github.com:leafac/www.kill-the-newsletter.com.git", "path": "/root/www.kill-the-newsletter.com", - "pre-setup": "(curl -sL https://deb.nodesource.com/setup_13.x | bash -) && apt install -y nodejs build-essential && (ssh -o StrictHostKeyChecking=no git@github.com || true)", + "pre-setup": "(curl -sL https://deb.nodesource.com/setup_14.x | bash -) && apt install -y nodejs build-essential && (ssh -o StrictHostKeyChecking=no git@github.com || true)", "post-setup": "env NODE_ENV=production npm ci && npx pm2 startup", "pre-deploy-local": "(ssh -o StrictHostKeyChecking=no root@kill-the-newsletter.com || true) && rsync -av --delete lib/ root@kill-the-newsletter.com:www.kill-the-newsletter.com/current/lib/", "post-deploy": "env NODE_ENV=production npm ci && npx pm2 startOrRestart package.json && npx pm2 save",