Skip to content

Commit

Permalink
Merge pull request #48 from lifeomic/fix-release-script
Browse files Browse the repository at this point in the history
fix: fixup release script
  • Loading branch information
xdumaine authored Mar 15, 2022
2 parents 9605d43 + 7416a4b commit 2eb6249
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,24 @@ name: Release
on:
push:
branches:
- "master"
- master

jobs:
build:
main:
runs-on: ubuntu-latest
environment: npm
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.LIFEOMIC_NPM_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: 14
registry-url: https://registry.npmjs.org
- name: Test
run: |
yarn install
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
yarn install --frozen-lockfile
yarn test
- name: Publish
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const yargs = require('yargs');
const ValidationError = require('./ValidationError');
const alphaProxy = require('./alphaProxy');

const plugins = glob.sync(path.join(__dirname, 'plugins/*.js '))
const plugins = glob.sync(path.join(__dirname, 'plugins/*.js'))
.map(require)
.map((loader) => loader(yargs));

Expand Down

0 comments on commit 2eb6249

Please sign in to comment.