Update dependency @pmmmwh/react-refresh-webpack-plugin to v0.5.15 #4286
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: Continous integeration | |
on: | |
pull_request: | |
types: [assigned, opened, reopened, synchronize, edited] | |
push: | |
branches: | |
- feat/inspire/* | |
- develop | |
- main | |
- master | |
jobs: | |
CI-Deployment: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: NodeJS | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 14 | |
- uses: actions/cache@v2 | |
id: yarn-cache | |
with: | |
path: "**/node_modules" | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
- name: Install npm dependencies | |
run: yarn | |
- name: checking the linting | |
run: yarn lint | |
- name: Check Testing | |
run: yarn test | |
- name: Build | |
run: yarn build | |
- name: Deployment | |
id: vercel-action | |
uses: amondnet/vercel-action@v20 | |
with: | |
vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required | |
vercel-org-id: ${{ secrets.ORG_ID}} #Required | |
vercel-project-id: ${{ secrets.PROJECT_ID}} #Required | |
working-directory: ./ | |
- name: Preview URL | |
run: echo ${{ steps.vercel-action.outputs.preview-url }} |