Skip to content

Commit

Permalink
Merge branch 'master' of github.com:form8ion/config-file into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Jan 8, 2024
2 parents aba61f3 + 82d1d5d commit 3c62f3b
Show file tree
Hide file tree
Showing 7 changed files with 2,791 additions and 3,417 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,9 @@ jobs:
- run: npm clean-install
- run: npm test
- uses: codecov/codecov-action@v3
trigger-release:
runs-on: ubuntu-latest
if: github.event_name == 'push'
release:
needs:
- verify
steps:
- uses: octokit/[email protected]
with:
route: >-
POST
/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches
owner: form8ion
repo: config-file
ref: ${{ github.ref }}
workflow_id: release.yml
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
uses: form8ion/.github/.github/workflows/release-package.yml@master
secrets:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
21 changes: 3 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,8 @@ name: Release
push:
branches:
- alpha
workflow_dispatch: {}
env:
FORCE_COLOR: 1
NPM_CONFIG_COLOR: always
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: npm
- run: npm clean-install
- name: semantic-release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
uses: form8ion/.github/.github/workflows/release-package.yml@master
secrets:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16
18
2 changes: 1 addition & 1 deletion example.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import stubbedFs from 'mock-fs';
/* eslint-disable-next-line no-unused-vars */
import {fileTypes} from '@form8ion/core';
import {write} from './lib/index.cjs';
import {write} from './lib/index.js';

// remark-usage-ignore-next
stubbedFs({});
Expand Down
Loading

0 comments on commit 3c62f3b

Please sign in to comment.