Skip to content

chore(deps-dev): bump @typescript-eslint/parser from 5.57.1 to 5.62.0 #5

chore(deps-dev): bump @typescript-eslint/parser from 5.57.1 to 5.62.0

chore(deps-dev): bump @typescript-eslint/parser from 5.57.1 to 5.62.0 #5

Workflow file for this run

name: "Build tests"
on:
pull_request:
paths-ignore:
- "**.md"
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 }}
- name: Print the output
run: echo "${{ steps.release-notification.outputs.releaseInfo }}" | jq '.' > output.json
slack:
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_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:
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_url: ${{ secrets.SLACK_WEBHOOK_URL }}
jira_ticket_prefix: "KCAN"
jira_instance_url: "https://example.atlassian.net/browse"