Skip to content

Commit

Permalink
fix: update dependencies and fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Jan 10, 2024
1 parent 4e20d33 commit 8e39135
Show file tree
Hide file tree
Showing 10 changed files with 582 additions and 696 deletions.
11 changes: 0 additions & 11 deletions .github/dependabot.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/release.yml

This file was deleted.

56 changes: 56 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Release
on:
release:
types: [ published ]
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Post to a Slack channel
id: slack
uses: slackapi/slack-github-action@v1
with:
payload: |
{
"text": "New release ${{github.ref_name}} for ${{github.event.repository.name}}.",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "New release for <${{github.event.repository.html_url}}|`${{github.event.repository.name}}`>\n*<${{github.event.release.html_url}}|release notes>*"
}
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Project:*\n${{github.event.repository.name}}"
},
{
"type": "mrkdwn",
"text": "*Version:*\n${{github.ref_name}}"
}
]
},
{
"type": "context",
"elements": [
{
"type": "image",
"image_url": "${{github.event.sender.avatar_url}}",
"alt_text": "${{github.event.sender.login}}"
},
{
"type": "mrkdwn",
"text": "*${{github.event.sender.login}}* has triggered this release."
}
]
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.PIPELINE_SLACK_CHANNEL_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@
"node": ">=16 || ^14.17"
},
"dependencies": {
"axios": "1.5.1"
"axios": "1.6.5"
},
"devDependencies": {
"@babel/preset-env": "^7.23.6",
"@babel/preset-env": "^7.23.8",
"@babel/preset-typescript": "^7.23.3",
"@commercelayer/eslint-config-ts": "1.1.0",
"@commercelayer/eslint-config-ts": "1.3.0",
"@commercelayer/js-auth": "^4.2.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.11",
"@types/lodash": "^4.14.202",
"@types/node": "^20.10.5",
"@types/node": "^20.10.8",
"dotenv": "^16.3.1",
"eslint": "^8.56.0",
"inflector-js": "^1.0.1",
Expand Down
Loading

0 comments on commit 8e39135

Please sign in to comment.