Skip to content

fix: strip env variables from CDN build #2139

fix: strip env variables from CDN build

fix: strip env variables from CDN build #2139

Workflow file for this run

name: 'size'
on:
pull_request:
branches:
- main
jobs:
size:
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v2
- name: Authenticate with Github packages
run: |
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > .npmrc
echo "@contentful:registry=https://npm.pkg.github.com" >> .npmrc
- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}