Skip to content

Commit

Permalink
test: don't run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Aug 5, 2021
1 parent e3a96fe commit ef728a3
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 67 deletions.
73 changes: 30 additions & 43 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,37 @@
---
version: 2
jobs:
# This plugin requires a custom image to test releases.
# Currently it's using Node v10.
# node-10: &test
# docker:
# - image: rasphilco/release:10.17.0
# working_directory: ~/cli
# steps:
# - checkout
# - restore_cache: &restore_cache
# keys:
# - v3-yarn-{{checksum ".circleci/config.yml"}}-{{ checksum "yarn.lock"}}
# - v3-yarn-{{checksum ".circleci/config.yml"}}
# - run: yarn
# - run: yarn test
release:
docker:
- image: node:lts
steps:
- add_ssh_keys
- checkout
- restore_cache:
keys:
- v3-yarn-{{checksum ".circleci/config.yml"}}-{{ checksum "yarn.lock"}}
- v3-yarn-{{checksum ".circleci/config.yml"}}
- run: yarn global add @oclif/semantic-release@3 semantic-release@15
- run: yarn --frozen-lockfile
- run: |
export PATH=/usr/local/share/.config/yarn/global/node_modules/.bin:$PATH
semantic-release -e @oclif/semantic-release
- save_cache:
key: v3-yarn-{{checksum ".circleci/config.yml"}}-{{checksum "yarn.lock"}}
paths:
- ~/cli/node_modules
- /usr/local/share/.cache/yarn
- /usr/local/share/.config/yarn
version: 2.1
orbs:
release-management: salesforce/npm-release-management@4

workflows:
version: 2
'@oclif/plugin-update':
test-and-release:
jobs:
# - node-10
- release:
context: org-global
- release-management/validate-pr:
filters:
branches: { only: master }
branches:
ignore: main
# we don't run the tests on circle because they're using AWS CLI and AWS keys
# - release-management/test-package:
# matrix:
# parameters:
# os:
# - linux
# - windows
# node_version:
# - latest
# - lts
# - maintenance
# exclude:
# - os: windows
# node_version: lts
# - os: windows
# node_version: maintenance
- release-management/release-package:
github-release: true
# requires:
# - node-10
# - release-management/test-package
filters:
branches:
only: main
context: CLI_CTC
48 changes: 24 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: Node.js CI
# name: Node.js CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# on:
# push:
# branches: [ master ]
# pull_request:
# branches: [ master ]

jobs:
build:
runs-on: windows-latest
strategy:
matrix:
node-version: [10.x, 12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
env:
CI: true
- run: yarn test
env:
CI: true
# jobs:
# build:
# runs-on: windows-latest
# strategy:
# matrix:
# node-version: [10.x, 12.x]
# steps:
# - uses: actions/checkout@v2
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v1
# with:
# node-version: ${{ matrix.node-version }}
# - run: yarn install
# env:
# CI: true
# - run: yarn test
# env:
# CI: true

0 comments on commit ef728a3

Please sign in to comment.