chore(deps): bump @azure/identity from 1.2.5 to 4.9.1 #160
This file contains hidden or 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
# Continuous Integration workflow to: | |
# 1. Build, lint, and test project | |
# 2. Commit any updates to "dist" folder | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
name: Continuous Integration | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '12' | |
- run: npm install | |
- run: npm run build | |
- run: npm run lint | |
- run: npm run test | |
- name: Examine changes | |
run: |- | |
echo 'FILES_CHANGED<<EOF' >> $GITHUB_ENV | |
git diff --exit-code dist/index.js >> $GITHUB_ENV | |
echo 'EOF' >> $GITHUB_ENV | |
- name: Update dist | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && env.FILES_CHANGED }} | |
uses: swinton/commit@v2.x | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
files: | |
dist/index.js | |
commit-message: Update dist |