From 2003b9d9d645d46df6203002e72006ab60819c40 Mon Sep 17 00:00:00 2001 From: Tierney Cyren Date: Mon, 8 Apr 2024 17:24:53 +0900 Subject: [PATCH] ci: add setup-node, npm update, and npm install to contributors actions (#17) Signed-off-by: Tierney Cyren --- .github/workflows/contributors-monthly-twilio-labs.yml | 8 ++++++++ .github/workflows/contributors-monthly-twilio-samples.yml | 8 ++++++++ .github/workflows/contributors-monthly-twilio.yml | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/.github/workflows/contributors-monthly-twilio-labs.yml b/.github/workflows/contributors-monthly-twilio-labs.yml index e3eb005..65d93b5 100644 --- a/.github/workflows/contributors-monthly-twilio-labs.yml +++ b/.github/workflows/contributors-monthly-twilio-labs.yml @@ -31,6 +31,14 @@ jobs: END_DATE: ${{ env.END_DATE }} ORGANIZATION: twilio-labs SPONSOR_INFO: "false" + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 'latest' + - name: Update npm + run: npm install -g npm + - name: Install dependencies + run: npm install - name: Move generated contributors file to storage run: npm run convert:contributors - name: run create/update pull request diff --git a/.github/workflows/contributors-monthly-twilio-samples.yml b/.github/workflows/contributors-monthly-twilio-samples.yml index 165c8e4..e6a36f8 100644 --- a/.github/workflows/contributors-monthly-twilio-samples.yml +++ b/.github/workflows/contributors-monthly-twilio-samples.yml @@ -31,6 +31,14 @@ jobs: END_DATE: ${{ env.END_DATE }} ORGANIZATION: twilio-samples SPONSOR_INFO: "false" + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 'latest' + - name: Update npm + run: npm install -g npm + - name: Install dependencies + run: npm install - name: Move generated contributors file to storage run: npm run convert:contributors - name: run create/update pull request diff --git a/.github/workflows/contributors-monthly-twilio.yml b/.github/workflows/contributors-monthly-twilio.yml index 1d4a1ba..ed04c01 100644 --- a/.github/workflows/contributors-monthly-twilio.yml +++ b/.github/workflows/contributors-monthly-twilio.yml @@ -31,6 +31,14 @@ jobs: END_DATE: ${{ env.END_DATE }} ORGANIZATION: twilio SPONSOR_INFO: "false" + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 'latest' + - name: Update npm + run: npm install -g npm + - name: Install dependencies + run: npm install - name: Move generated contributors file to storage run: npm run convert:contributors - name: run create/update pull request