Update dependency webpack to v5 #8109
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: Continuous Integration | |
on: push | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [12.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Use default env variables | |
run: cp extension/env/common.js.example extension/env/common.js | |
- name: Install AWS CLI | |
uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws-region: eu-west-3 | |
- name: Install Serverless Cli | |
run: curl -o- -L https://slss.io/install | bash | |
- name: Add credentials to ~/.aws/credentials | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
run: | | |
aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID --profile lesgars-watch-with-me | |
aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY --profile lesgars-watch-with-me | |
- uses: pnpm/[email protected] | |
with: | |
version: 5.2.6 | |
- name: Install dependencies | |
run: make install | |
- name: Run lint | |
run: make lint | |
- name: Run tests | |
run: make test | |
- name: Build | |
run: make build |