Skip to content

Commit

Permalink
ci: add build steps and bump node version
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron de las Alas committed Dec 8, 2023
1 parent b393107 commit 1b9a9b3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: build-scratch-analysis
on:
push:
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install Dependencies
run: npm ci
- name: Run Tests
run: npm test
- name: Semantic Release
if: github.ref_name == 'master'
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx --no -- semantic-release



2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16
v18

0 comments on commit 1b9a9b3

Please sign in to comment.