Skip to content

Commit

Permalink
chore: update node to v.16 (#458)
Browse files Browse the repository at this point in the history
- Update node to v.16
- Remove unused Dockerfile

Fixes the failing build, caused by newer package-lock.json version i previous commit
  • Loading branch information
ooystein authored Oct 18, 2021
1 parent 640dad0 commit bb014dd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 26 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
with:
submodules: true
persist-credentials: false
- uses: actions/setup-node@v2
with:
node-version: '16'

- name: Info
run: echo "Running on branch $(basename ${{ github.ref }})"
Expand All @@ -24,7 +27,7 @@ jobs:
run: mkdir docs_out

- name: Build documentation # only if this was triggered from latest
if: github.ref == 'refs/heads/latest'
if: github.ref == 'refs/heads/latest'
run: |
npm run docs
npm run postdocs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: 12
registry-url: https://registry.npmjs.org/
node-version: '16'
registry-url: 'https://registry.npmjs.org/'
- run: npm ci
- run: npm run pub
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:

strategy:
matrix:
node-version: [12.x]
node-version: [16.x]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
Expand Down
19 changes: 0 additions & 19 deletions storybook.Dockerfile

This file was deleted.

0 comments on commit bb014dd

Please sign in to comment.