Skip to content

chore(deps): update relative-ci/agent-upload-artifact-action action to v2 #673

chore(deps): update relative-ci/agent-upload-artifact-action action to v2

chore(deps): update relative-ci/agent-upload-artifact-action action to v2 #673

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18.x"
# Install dependencies
- run: npm ci
# Build and output bunle stats to webpack-stats.json
- run: yarn build --env TARGET=chrome --json webpack-stats.json
# Upload webpack-stats.json to use on relative-ci.yaml workflow
- name: Upload webpack stats artifact
uses: relative-ci/agent-upload-artifact-action@v2
with:
webpackStatsFile: ./webpack-stats.json