Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Schascha committed Feb 2, 2024
1 parent 6fc3564 commit 5abb4a4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,19 @@ jobs:
persist-credentials: false

- name: Setup πŸ”Œ
uses: actions/setup-node@v4.0.1
uses: actions/setup-node@v4
with:
node-version: 14.x
node-version-file: '.nvmrc'
registry-url: https://registry.npmjs.org/

- name: Build πŸ”§
run: |
npm ci
npm run lint
npm t
- name: Install dependencies πŸ‘¨πŸ»β€πŸ’»
run: npm ci

- name: Run linter πŸ‘€
run: npm run lint

- name: Run tests πŸ§ͺ
run: npm t

- name: Publish πŸš€
if: startsWith(github.ref, 'refs/tags/')
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.11.0

0 comments on commit 5abb4a4

Please sign in to comment.