Skip to content

Commit

Permalink
fix: gh actions that run on main (#3550)
Browse files Browse the repository at this point in the history
## About the changes
These also need to be migrated to node 18
  • Loading branch information
gastonfournier committed Apr 18, 2023
1 parent 867a514 commit e7d3182
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_coverage.yaml
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [18.x]
services:
# Label used to access the service container
postgres:
Expand Down
38 changes: 19 additions & 19 deletions .github/workflows/update_contributors.yaml
Expand Up @@ -9,25 +9,25 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- uses: actions/checkout@master
with:
repository: sighphyre/svg-contributors
path: './svg-contributors'
- name: Create Contributors Image
run: |
npm install --prefix ./svg-contributors
./svg-contributors/bin/contributors -o unleash -n unleash -l 500
- uses: aws-actions/configure-aws-credentials@v1
with:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- uses: actions/checkout@master
with:
repository: sighphyre/svg-contributors
path: './svg-contributors'
- name: Create Contributors Image
run: |
npm install --prefix ./svg-contributors
./svg-contributors/bin/contributors -o unleash -n unleash -l 500
- uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
- name: Publish static assets to S3
run: |
ls -l
aws s3 cp contributors.svg s3://getunleash-static/docs-assets/contributors.svg
- name: Publish static assets to S3
run: |
ls -l
aws s3 cp contributors.svg s3://getunleash-static/docs-assets/contributors.svg

0 comments on commit e7d3182

Please sign in to comment.