Update packages to latest versions to resolve CG #61
Workflow file for this run
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
# Build and test script to run on PR and main build | |
name: Build and Test | |
permissions: | |
deployments: write | |
on: | |
pull_request: | |
branches: | |
- main | |
check_run: | |
types: [rerequested, requested_action] | |
env: | |
NODE_VERSION: 16.14.0 | |
IS_CI: 1 | |
SCREENSHOT_PATH: 'src/test/*-screenshot.png' | |
jobs: | |
build: | |
name: Build Distribution | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node ${{env.NODE_VERSION}} | |
uses: actions/setup-node@v2.1.5 | |
with: | |
node-version: ${{env.NODE_VERSION}} | |
- run: npm install | |
name: npm install | |
- run: npm run build | |
name: webpack for production |