Skip to content

chore(ci)(deps): bump axios from 1.4.0 to 1.6.0 #106

chore(ci)(deps): bump axios from 1.4.0 to 1.6.0

chore(ci)(deps): bump axios from 1.4.0 to 1.6.0 #106

Workflow file for this run

name: "Build tests"
on:
pull_request:
paths-ignore:
- "**.md"
- "**.yml"
push:
branches:
- main
paths-ignore:
- "**.md"
workflow_dispatch:
permissions:
contents: read
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Detect Node version
run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT
id: nvmrc
- name: Use Node.js ${{ steps.nvmrc.outputs.NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: "${{ steps.nvmrc.outputs.NODE_VERSION }}"
- name: Install dependencies
run: |
npm install
- name: Lint, test, build
run: |
npm run all
- name: Save Action Artifact
uses: actions/upload-artifact@v3
with:
retention-days: 1
name: release-artifact
path: |
./dist
action.yml
package.json
!dist/utils
basic:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download Action Artifact
uses: actions/download-artifact@v3
with:
name: release-artifact
path: ./
- name: Display structure of downloaded files
run: ls -R
- name: Simple release for output
uses: ./
id: release-notification
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
full:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download Action Artifact
uses: actions/download-artifact@v3
with:
name: release-artifact
path: ./
- name: Release to Slack
uses: ./
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
slack_webhook_urls: ${{ secrets.SLACK_WEBHOOK_URL }}, ${{ secrets.SLACK_WEBHOOK_URL }}
sentry_project_name: ${{ secrets.SENTRY_PROJECT_NAME }}
sentry_project_id: ${{ secrets.SENTRY_PROJECT_ID }}
grafana_dashboard_link: https://example.grafana.net/d/xxxx/web-overview?orgId=1
jira_ticket_prefix: "ABC"
jira_instance_url: "https://example.atlassian.net"
time_zone_offset: "-4" # Toronto (Canada - Ontario)
locale: "fr-FR"
- name: Release to Slack
uses: ./
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
slack_webhook_urls: https://this.is.gonna.fail.com
sentry_project_name: ${{ secrets.SENTRY_PROJECT_NAME }}
sentry_project_id: ${{ secrets.SENTRY_PROJECT_ID }}
grafana_dashboard_link: https://example.grafana.net/d/xxxx/web-overview?orgId=1
jira_ticket_prefix: "ABC"
jira_instance_url: "https://example.atlassian.net"
time_zone_offset: "-4" # Toronto (Canada - Ontario)
locale: "fr-FR"
fail_on_slack_error: "false"