mirror of
https://github.com/wp-graphql/wp-graphql-woocommerce.git
synced 2026-08-14 12:53:44 +02:00
"build-release" workflow added.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
name: build_release
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
name: "Build Release"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: 7.3
|
||||
extensions: mbstring, intl
|
||||
tools: composer
|
||||
|
||||
- name: Install dependencies
|
||||
run: composer install --no-dev
|
||||
|
||||
- name: Remove unneeded files
|
||||
run: |
|
||||
rm -rf composer.json composer.lock tests \
|
||||
coveralls.yml netlify.toml docker docs vendor \
|
||||
bin .github .env.dist phpcs.xml .dockerignore \
|
||||
codeception.dist.yml .editorconfig .gitignore .git
|
||||
|
||||
- name: List files
|
||||
run: ls -laR
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
name: Testing Integration
|
||||
name: continuous_integration
|
||||
|
||||
on:
|
||||
schedule:
|
||||
@@ -1,4 +1,4 @@
|
||||
name: WordPress Coding Standards
|
||||
name: lint_code
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -17,12 +17,13 @@ on:
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
name: "Lint code with PHPCS"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v1
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: 7.3
|
||||
extensions: mbstring, intl
|
||||
Reference in New Issue
Block a user