Bump the npm-development group across 1 directory with 6 updates #82
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: Continuous Integration | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
test-action: | |
name: GitHub Actions Test - ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-latest | |
path_separator: / | |
- os: windows-latest | |
path_separator: \ | |
- os: macos-latest | |
path_separator: / | |
steps: | |
- name: Checkout | |
id: checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
id: setup-node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .node-version | |
cache: npm | |
- name: Install Dependencies | |
id: npm-ci | |
run: | | |
npm ci | |
- name: Check Format | |
id: npm-format-check | |
run: | | |
npm run format:check | |
- name: Lint | |
id: npm-lint | |
run: | | |
npm run lint | |
- name: Test | |
id: npm-ci-test | |
run: | | |
npm run ci-test | |
- name: Create files | |
run: | | |
echo "hello" > ${{ github.workspace }}${{ matrix.path_separator }}t1.txt | |
echo "hello" > ${{ github.workspace }}${{ matrix.path_separator }}t2.json | |
echo "hello" > ${{ github.workspace }}${{ matrix.path_separator }}t3.txt | |
echo "hello" > ${{ github.workspace }}${{ matrix.path_separator }}t4.html | |
- name: Test Local Action | |
id: test-action | |
uses: ./ | |
with: | |
token: '${{ secrets.azure_devops_token }}' | |
organization_url: 'https://dev.azure.com/EladDeveleap' | |
project: 'test' | |
workitem_type: 'Task' | |
field_mappings: | | |
'Title = Tests failed' | |
'Tags = Auto Bug' | |
'AssignedTo = Elad Develeap' | |
'AreaPath = test' | |
attach_files: | | |
'*.txt' | |
't2.json' | |
'${{ github.workspace }}${{ matrix.path_separator }}t4.html' | |
- name: Print Output | |
id: output | |
run: | | |
echo "${{ steps.test-action.outputs.workitem_url }}" |