Make progress in the internal-dev tool #198
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci-lint-typescript | |
on: | |
push: | |
paths: | |
- "ts-packages/**" | |
- "sdk/typescript/**" | |
- "nym-connect/desktop/src/**" | |
- "nym-connect/desktop/package.json" | |
- "nym-wallet/src/**" | |
- "nym-wallet/package.json" | |
- "explorer/**" | |
pull_request: | |
paths: | |
- "ts-packages/**" | |
- "sdk/typescript/**" | |
- "nym-connect/desktop/src/**" | |
- "nym-connect/desktop/package.json" | |
- "nym-wallet/src/**" | |
- "nym-wallet/package.json" | |
- "explorer/**" | |
jobs: | |
build: | |
runs-on: custom-runner-linux | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: rlespinasse/[email protected] | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Setup yarn | |
run: npm install -g yarn | |
- name: Install Rust stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Install wasm-pack | |
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- name: Install | |
run: yarn | |
- name: Build packages | |
run: yarn build:ci:sdk | |
- name: Lint | |
run: yarn lint | |
- name: Typecheck with tsc | |
run: yarn tsc | |
- name: Matrix - Node Install | |
run: npm install | |
working-directory: .github/workflows/support-files | |
- name: Matrix - Send Notification | |
env: | |
NYM_NOTIFICATION_KIND: ts-packages | |
NYM_PROJECT_NAME: "ts-packages" | |
NYM_CI_WWW_BASE: "${{ secrets.NYM_CI_WWW_BASE }}" | |
NYM_CI_WWW_LOCATION: "ts-${{ env.GITHUB_REF_SLUG }}" | |
GIT_COMMIT_MESSAGE: "${{ github.event.head_commit.message }}" | |
GIT_BRANCH: "${GITHUB_REF##*/}" | |
IS_SUCCESS: "${{ job.status == 'success' }}" | |
MATRIX_SERVER: "${{ secrets.MATRIX_SERVER }}" | |
MATRIX_ROOM: "${{ secrets.MATRIX_ROOM }}" | |
MATRIX_USER_ID: "${{ secrets.MATRIX_USER_ID }}" | |
MATRIX_TOKEN: "${{ secrets.MATRIX_TOKEN }}" | |
MATRIX_DEVICE_ID: "${{ secrets.MATRIX_DEVICE_ID }}" | |
uses: docker://keybaseio/client:stable-node | |
with: | |
args: .github/workflows/support-files/notifications/entry_point.sh |