Skip to content

Commit

Permalink
Bump actions versions & use github npm registry
Browse files Browse the repository at this point in the history
  • Loading branch information
LudvigHz committed Jun 19, 2024
1 parent 60948f1 commit 6efaa57
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/adapter-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ jobs:
name: Test and build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: npm
registry: https://npm.pkg.github.com
- name: Build core
run: |
npm ci
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,16 @@ env:
jobs:
test-build-publish:
permissions:
contents:
- read
- write
metadata:
- read
contents: write
name: Test and build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: npm
registry: https://npm.pkg.github.com
- name: Install dependencies
run: npm ci
- name: Test
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
name: Test and build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Test
run: npm run test:coverage
- name: Build
run: npm run build
run: npm run build

0 comments on commit 6efaa57

Please sign in to comment.