Skip to content

Commit

Permalink
build: set explicit node version
Browse files Browse the repository at this point in the history
  • Loading branch information
hydrosquall committed Mar 27, 2022
1 parent 413872c commit 1311095
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,13 @@ jobs:
run: |
pip install setuptools wheel twine build
- name: Read .nvmrc
run: echo ::set-output name=NODE_VERSION::$(cat .node-version)
id: nodenv

- name: Set up Node.js to build statics
uses: actions/setup-node@v1
node-version: "${{ steps.nodenv.outputs.NODE_VERSION }}"

- name: Install NPM dependencies
run: yarn
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.3.0

0 comments on commit 1311095

Please sign in to comment.