Skip to content

Commit

Permalink
Merge pull request #210 from dsmjs/auto-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
travi authored Oct 14, 2022
2 parents 23e5c41 + fcbbd94 commit 7ac0da9
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,25 @@ jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Read .nvmrc
run: 'echo ::set-output name=NVMRC::$(cat .nvmrc)'
id: nvm
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
- uses: bahmutov/npm-install@v1
node-version-file: '.nvmrc'
cache: npm
- run: npm clean-install
- run: npm test
release:
needs: verify
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Read .nvmrc
run: 'echo ::set-output name=NVMRC::$(cat .nvmrc)'
id: nvm
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
- uses: bahmutov/npm-install@v1
node-version-file: '.nvmrc'
cache: npm
- run: npm clean-install
- name: semantic-release
run: npx semantic-release
env:
Expand All @@ -49,6 +45,6 @@ jobs:
needs: release
runs-on: ubuntu-latest
steps:
- uses: fastify/github-action-merge-dependabot@v2.1.1
- uses: fastify/github-action-merge-dependabot@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.GH_PAT }}

0 comments on commit 7ac0da9

Please sign in to comment.