Skip to content

Commit

Permalink
chore: remove ci scripts for next branch
Browse files Browse the repository at this point in the history
moving development to nuxt-next (soon)
  • Loading branch information
pooya parsa committed Jun 30, 2020
1 parent 17403c5 commit 6e74c16
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 49 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/nightly.yml
Expand Up @@ -47,46 +47,3 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}

# Anchors still not supported :(
# https://github.community/t5/GitHub-Actions/Support-for-YAML-anchors/td-p/30336
nightly-next:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: 'refs/heads/next'
fetch-depth: 0 # All history
- name: fetch tags
run: git fetch --depth=1 origin "+refs/tags/*:refs/tags/*"
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: 'https://registry.npmjs.org'
- name: install
run: yarn --check-files --frozen-lockfile --non-interactive
- name: lint
run: yarn test:lint
- name: audit
run: yarn run audit
- name: build
run: yarn test:fixtures -i
env:
NODE_OPTIONS: "--max_old_space_size=4096"
- name: lint app
run: yarn lint:app
- name: test dev
run: yarn test:dev -w=2
- name: test unit
run: yarn test:unit
- name: test e2e
run: yarn test:e2e
- name: bump version
run: yarn lerna version --yes --no-changelog --no-git-tag-version --no-push --force-publish "*" --loglevel verbose
- name: build
run: PACKAGE_SUFFIX=edge yarn build
- name: publish
run: ./scripts/workspace-run npm publish --tag next -q
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}


5 changes: 1 addition & 4 deletions .github/workflows/test.yml
Expand Up @@ -5,17 +5,15 @@ on:
branches:
- dev
- 2.x
- next
pull_request:
branches:
- dev
- 2.x
- next

jobs:
setup:
runs-on: ${{ matrix.os }}
if: github.event_name == 'push' || !((github.base_ref == '2.x' || github.base_ref == 'next') && github.head_ref == 'dev')
if: github.event_name == 'push' || !((github.base_ref == '2.x') && github.head_ref == 'dev')

strategy:
matrix:
Expand Down Expand Up @@ -300,7 +298,6 @@ jobs:

- name: publish
run: |
if [ "$ref" = "refs/heads/next" ]; then tag="--tag next"; fi
./scripts/workspace-run npm publish $tag -q
env:
ref: ${{ github.ref }}
Expand Down
3 changes: 1 addition & 2 deletions renovate.json
Expand Up @@ -3,8 +3,7 @@
"@nuxtjs"
],
"baseBranches": [
"dev",
"next"
"dev"
],
"ignoreDeps": [
"core-js",
Expand Down

0 comments on commit 6e74c16

Please sign in to comment.