Skip to content

Commit

Permalink
Merge branch 'main' into guibranco-patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
guibranco authored Feb 16, 2024
2 parents 5aa15ad + 7bf3fff commit 19a0bb1
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/update-tests-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ env:
GHA_URL: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"

jobs:
prettier:
update-snapshot:
permissions: write-all
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- name: Generate a token
id: generate_token
Expand All @@ -55,11 +55,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm

- name: Install & Test
run: |
npm ci
npm run test --if-present

- name: Run update snapshot
run: |
Expand Down Expand Up @@ -120,7 +115,7 @@ jobs:
if: steps.verify-changed-files.outputs.files_changed == 'true'
run: |
git add .
git commit -m "Prettier format"
git commit -m "Update test snapshot"
echo "sha1=$(git rev-parse HEAD)" >> $GITHUB_ENV
git push origin ${{ github.event.inputs.branch }}
Expand Down

0 comments on commit 19a0bb1

Please sign in to comment.