Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix potential github action smells #9672

Open
wants to merge 2 commits into
base: v2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/canary-release.yml
Expand Up @@ -7,6 +7,26 @@ on:
push:
branches:
- v2
paths:
- yarn.lock
- verdaccioPublish.js
- verdaccio.yml
- rustfmt.toml
- rust-toolchain
- README.md
- package.json
- lerna.json
- gulpfile.js
- Cargo.toml
- Cargo.lock
- babel.config.json
- scripts/**
- patches/**
- packages/**
- flow-typed/**
- flow-libs/**
- docs/**
- crates/**
workflow_dispatch:

jobs:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -5,10 +5,34 @@ on:
push:
branches:
- v2
paths:
- yarn.lock
- verdaccioPublish.js
- verdaccio.yml
- rustfmt.toml
- rust-toolchain
- README.md
- package.json
- lerna.json
- gulpfile.js
- Cargo.toml
- Cargo.lock
- babel.config.json
- scripts/**
- patches/**
- packages/**
- flow-typed/**
- flow-libs/**
- docs/**
- crates/**

permissions:
contents: read

concurrency:
group: ${{ github.workflow }} - ${{ github.ref }}
cancel-in-progress: true

jobs:
lint:
name: Lint
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Expand Up @@ -66,6 +66,7 @@ jobs:
run: strip -x packages/*/*/*.node # Must use -x on macOS. This produces larger results on linux.
- name: Upload artifacts
uses: actions/upload-artifact@v3
if: ${{github.repository == 'parcel-bundler/parcel' && success()}}
with:
name: bindings-${{ matrix.name }}
path: packages/*/*/*.node
Expand Down