Skip to content

Commit

Permalink
fix: only test on lts
Browse files Browse the repository at this point in the history
semantic-release, since it's configured to publish to npm, would
fail if run from the same commit on two different build runs.
  • Loading branch information
soup-in-boots committed Nov 5, 2022
1 parent 5d53ff5 commit 8765fc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,13 @@ jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x]

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
node-version: 'lts/*'
- name: Install Dependencies
run: npm ci
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
branches: ['main'],
branches: ['main', 'master'],
plugins: [
'@semantic-release/commit-analyzer',
['semantic-release-lerna', { generateNotes: true }],
Expand Down

0 comments on commit 8765fc3

Please sign in to comment.