Update all Github actions
parent
95fc555551
commit
8170194816
|
@ -12,13 +12,13 @@ jobs:
|
|||
fetch-depth: 0
|
||||
- name: Get changed files in the site folder
|
||||
id: changed-files-specific
|
||||
uses: tj-actions/changed-files@v35
|
||||
uses: tj-actions/changed-files@v36
|
||||
with:
|
||||
files: |
|
||||
site/**
|
||||
- name: Find Comment
|
||||
if: steps.changed-files-specific.outputs.any_changed == 'true'
|
||||
uses: peter-evans/find-comment@v1
|
||||
uses: peter-evans/find-comment@v2
|
||||
id: find-comment
|
||||
with:
|
||||
issue-number: ${{ github.event.pull_request.number }} #e.g. 1
|
||||
|
@ -26,7 +26,7 @@ jobs:
|
|||
body-includes: accessibilité
|
||||
- name: Create comment
|
||||
if: steps.changed-files-specific.outputs.any_changed == 'true' && steps.find-comment.outputs.comment-id == ''
|
||||
uses: peter-evans/create-or-update-comment@v1
|
||||
uses: peter-evans/create-or-update-comment@v3
|
||||
with:
|
||||
issue-number: ${{ github.event.pull_request.number }}
|
||||
comment-id: ${{ steps.find-comment.outputs.comment-id }}
|
||||
|
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
run:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./.github/actions/install
|
||||
- name: Install RipGrep
|
||||
run: sudo apt install -y ripgrep
|
||||
|
|
|
@ -280,7 +280,7 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
- uses: ./.github/actions/install
|
||||
- name: Test e2e mon-entreprise on preview (site=${{ matrix.site }}, browser=${{ matrix.browser}}, viewport=${{ matrix.viewport }})
|
||||
uses: cypress-io/github-action@v4
|
||||
uses: cypress-io/github-action@v5
|
||||
with:
|
||||
# Hack to use local node version, issue : https://github.com/cypress-io/github-action/issues/489#issuecomment-1021379037
|
||||
command-prefix: '--'
|
||||
|
@ -350,7 +350,7 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
- uses: ./.github/actions/install
|
||||
- name: Test e2e mon-entreprise on production (site=${{ matrix.site }}, browser=${{ matrix.browser}}, viewport=${{ matrix.viewport }})
|
||||
uses: cypress-io/github-action@v4
|
||||
uses: cypress-io/github-action@v5
|
||||
with:
|
||||
install: false
|
||||
working-directory: site
|
||||
|
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
- run: yarn workspace ${{ matrix.package }} run build
|
||||
env:
|
||||
NODE_ENV: production
|
||||
- uses: JS-DevTools/npm-publish@v1
|
||||
- uses: JS-DevTools/npm-publish@v2
|
||||
with:
|
||||
token: ${{ secrets.NPM_PUBLISH_SECRET }}
|
||||
dry-run: ${{ github.ref != 'refs/heads/master' }}
|
||||
|
|
|
@ -13,7 +13,7 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- uses: actions/cache@v2
|
||||
- uses: actions/cache@v3
|
||||
# Custom cache as we do not care about installing all the other dependancies
|
||||
with:
|
||||
path: |
|
||||
|
@ -24,7 +24,7 @@ jobs:
|
|||
- uses: ./.github/actions/install
|
||||
|
||||
- name: Test external integration
|
||||
uses: cypress-io/github-action@v4
|
||||
uses: cypress-io/github-action@v5
|
||||
with:
|
||||
install: false
|
||||
working-directory: site
|
||||
|
@ -33,7 +33,7 @@ jobs:
|
|||
config: specPattern=cypress/integration/external/**/*.{js,jsx,ts,tsx},baseUrl=https://mon-entreprise.urssaf.fr
|
||||
|
||||
- name: e2e tests with external API calls
|
||||
uses: cypress-io/github-action@v4
|
||||
uses: cypress-io/github-action@v5
|
||||
with:
|
||||
install: false
|
||||
working-directory: site
|
||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
# Note: we could detect if the comment was already posted in the issue to
|
||||
# avoid posting it multiple times in case the issue was re-opened and
|
||||
# re-closed. https://github.com/peter-evans/create-or-update-comment
|
||||
- uses: peter-evans/create-or-update-comment@v1
|
||||
- uses: peter-evans/create-or-update-comment@v3
|
||||
with:
|
||||
issue-number: ${{ github.event.issue.number }}
|
||||
body: |
|
||||
|
|
Loading…
Reference in New Issue