diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8778ca6..68ef436 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,9 +2,9 @@ name: 'Build' on: push: - branches: [master] + branches: [master, develop] pull_request: - branches: [master] + branches: [master, develop] jobs: build: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 69ef278..a7e48fc 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,9 +2,9 @@ name: 'Lint' on: push: - branches: [master] + branches: [master, develop] pull_request: - branches: [master] + branches: [master, develop] jobs: lint: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 153d9f5..c6e0ed2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,38 +1,29 @@ -# name: 'Release' +name: 'Release' -# on: -# push: -# branches: [master] +on: + push: + branches: [master, develop] -# jobs: -# build: -# runs-on: 'ubuntu-latest' -# steps: -# - uses: 'actions/checkout@v3.0.0' +jobs: + build: + runs-on: 'ubuntu-latest' + steps: + - uses: 'actions/checkout@v3.0.0' -# - name: 'Use Node.js' -# uses: 'actions/setup-node@v3.1.0' -# with: -# node-version: 'lts/*' -# cache: 'npm' + - name: 'Use Node.js' + uses: 'actions/setup-node@v3.1.0' + with: + node-version: 'lts/*' + cache: 'npm' -# - name: 'Install' -# run: 'npm install' + - name: 'Install' + run: 'npm install' -# - name: 'Build Package' -# run: 'npm run build' + - name: 'Build Package' + run: 'npm run build' -# - name: 'Build Example' -# run: 'cd example && npm install && npm run build' - -# - name: 'Deploy Example' -# uses: 'JamesIves/github-pages-deploy-action@v4.3.0' -# with: -# branch: 'gh-pages' -# folder: 'example/dist' - -# - name: 'Release' -# run: 'npm run release' -# env: -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: 'Release' + run: 'npm run release' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 56c87e6..becee76 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,9 +2,9 @@ name: 'Test' on: push: - branches: [master] + branches: [master, develop] pull_request: - branches: [master] + branches: [master, develop] jobs: test: