-
Notifications
You must be signed in to change notification settings - Fork 3
70 lines (65 loc) · 2.67 KB
/
development-zip.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: Build development zip
on: push
jobs:
build:
name: Build development zip
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.0]
node-version: [16.x]
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '${{ matrix.php }}'
tools: composer:v1
- name: Build autoloader
run: composer install --no-dev
- name: Using Node version ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Installing lerna
run: npm install lerna -g
- name: bootstrap, npm install, build, and test
run: |
npm install -f
npm run build
lerna clean -y
touch .devbuild
env:
CI: true
INFURA_KEY: a2542fe40386473b9cce6550ebd9e871
- name: Package
uses: actions/upload-artifact@v2
with:
name: cf7-blocks
retention-days: 1
path: |
${{ github.workspace }}/
!${{ github.workspace }}/node_modules/
!${{ github.workspace }}/.github/
!${{ github.workspace }}/.git/
!${{ github.workspace }}/.editorconfig
!${{ github.workspace }}/.eslintrc.js
!${{ github.workspace }}/gruntfile.js
!${{ github.workspace }}/.husky
!${{ github.workspace }}/.eslintignore
!${{ github.workspace }}/.gitignore
!${{ github.workspace }}/.dev
!${{ github.workspace }}/.svgrrc
!${{ github.workspace }}/.prettierrc.js
!${{ github.workspace }}/.prettierignore
!${{ github.workspace }}/.phpcs.xml.dist
!${{ github.workspace }}/webpack.config.js
!${{ github.workspace }}/composer.json
!${{ github.workspace }}/composer.lock
!${{ github.workspace }}/package.json
!${{ github.workspace }}/package-lock.json
!${{ github.workspace }}/readme.md
!${{ github.workspace }}/lerna.json
!${{ github.workspace }}/cypress