Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
actions: migrate to node 18
Browse files Browse the repository at this point in the history
actions/integeration: temp disable test script
  • Loading branch information
arnemolland committed Jul 23, 2022
1 parent 16d7c75 commit 7176d08
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 15 deletions.
42 changes: 31 additions & 11 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,52 @@ on:
branches: ["*"]

jobs:
build:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: "16"
node-version: "18"

- uses: actions/checkout@v2

- name: Install dependencies
run: npm ci

- name: Build library
run: npm run build
test:
needs: build
- name: Check formatting
run: npm run format:ci

- name: Lint files
run: npm run lint:ci

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v2
with:
node-version: "16"
node-version: "18"

- uses: actions/checkout@v2

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm run test
- name: Build library
run: npm run build

# TODO: Enable once we have a test script
# test:
# needs: build
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2

# - uses: actions/setup-node@v2
# with:
# node-version: "18"

# - name: Install dependencies
# run: npm ci

# - name: Run tests
# run: npm test
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- uses: actions/setup-node@v2
with:
node-version: "16"
node-version: "18"

- name: Install dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
steps:
- uses: actions/setup-node@v3
with:
node-version: "16"
node-version: "18"
registry-url: "https://npm.pkg.github.com"
always-auth: "true"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/storybook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

- uses: actions/setup-node@v2
with:
node-version: "16"
node-version: "18"

- name: Install dependencies
run: npm ci
Expand All @@ -35,7 +35,7 @@ jobs:

- uses: actions/setup-node@v2
with:
node-version: "16"
node-version: "18"

- name: Install dependencies
run: npm ci
Expand Down

0 comments on commit 7176d08

Please sign in to comment.