chore(test): Adding tests #27
Workflow file for this run
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 | |
on: [pull_request] | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
lint_pr_title: | |
name: Lint PR Title | |
runs-on: ubuntu-latest | |
steps: | |
- name: Conventional Commit In Pull Requests | |
uses: ytanikin/[email protected] | |
with: | |
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]' | |
add_label: 'true' | |
build_and_test: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
#- uses: actions/checkout@v3 | |
#- uses: actions/setup-node@v3 | |
# with: | |
# node-version: 20 | |
#- run: npm run ci:all | |
#- run: npm run build:all | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- run: npm run ci:all | |
- name: Azure login | |
uses: azure/login@v2 | |
with: | |
client-id: ${{ secrets.AZURE_CLIENT_ID }} | |
tenant-id: ${{ secrets.AZURE_TENANT_ID }} | |
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} | |
allow-no-subscriptions: true | |
- name: Azure CLI script | |
uses: azure/cli@v2 | |
with: | |
azcliversion: latest | |
inlineScript: | | |
az rest -u https://app.vssps.visualstudio.com/_apis/profile/profiles/me --resource 499b84ac-1321-427f-aa17-267ca6975798 | |
- name: Install vsce and dependencies | |
shell: pwsh | |
run: | | |
npm install -g @vscode/vsce | |
npm install | |
vsce verify-pat --azure-credential |