Skip to content

build(deps): bump actions/checkout from 3.1.0 to 4.1.1 #371

build(deps): bump actions/checkout from 3.1.0 to 4.1.1

build(deps): bump actions/checkout from 3.1.0 to 4.1.1 #371

Workflow file for this run

name: Check dist/
concurrency:
group: check-dist-${{ github.ref_name }}
cancel-in-progress: true
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
workflow_dispatch:
jobs:
check-dist:
runs-on: ubuntu-latest
if: "!startsWith(github.event.head_commit.message, 'Merge') || github.event.pull_request.draft == false"
steps:
- name: Checkout Github
uses: actions/checkout@v4.1.1
- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Rebuild the dist/ directory
run: |
yarn build
yarn package
# If index.js was different than expected, upload the expected version as an artifact
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/