Skip to content

Commit

Permalink
revertme: (AppMap) Create the baseline AppMap archive
Browse files Browse the repository at this point in the history
  • Loading branch information
temichelle13 committed Nov 27, 2023
1 parent f6d1435 commit 13ba6ce
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/AppMaps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,7 @@ on:
- cron: '0 0 * * 0'

permissions:
# Allows the EndBug/add-and-commit step to commit the package manager changes,
# adding the AppMap language library and configuration file appmap.yml.
# Once the EndBug/add-and-commit is removed, this permission can be removed,
# unless you need it for other reasons.
contents: write

# Allows the getappmap/archive-action to write a PR comment with the
# AppMap configuration status.
pull-requests: write

jobs:
Expand All @@ -30,9 +23,6 @@ jobs:
uses: actions/setup-node@v2-beta
with:
node-version: '14'
# Begin AppMap CI language agent installation
# This snippet can be safely removed once the AppMap language agent has been
# added to the project dependencies, and appmap.yml has been created.
- name: Install AppMap tools
id: install-appmap
uses: getappmap/install-action@v1
Expand All @@ -42,12 +32,18 @@ jobs:
uses: EndBug/add-and-commit@v9
with:
message: "ci: Add AppMap language agent and appmap.yml"
# End AppMap CI language agent installation
- name: npm install, build, and test
run: |
npm ci
npm run build --if-present
npm test
# Begin AppMap bootstrap archive step
- name: Archive AppMaps
id: appmap-bootstrap-archive-appmaps
uses: getappmap/archive-action@v1
with:
revision: ${{ github.event.pull_request.base.sha }}
# End AppMap bootstrap archive step
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
Expand Down

0 comments on commit 13ba6ce

Please sign in to comment.