Skip to content

Commit

Permalink
ci: add setup-node, npm update, and npm install to contributors actio…
Browse files Browse the repository at this point in the history
…ns (#17)

Signed-off-by: Tierney Cyren <[email protected]>
  • Loading branch information
bnb authored Apr 8, 2024
1 parent 6ab5e92 commit 2003b9d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/contributors-monthly-twilio-labs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/contributors-monthly-twilio-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/contributors-monthly-twilio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2003b9d

Please sign in to comment.