Skip to content

Commit

Permalink
Chore: Update the test/build/release to match upgraded packages requi…
Browse files Browse the repository at this point in the history
…rements (#109)
  • Loading branch information
politician authored Sep 19, 2024
1 parent 048fda4 commit 81e4d9f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/test.workflow.pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Get Commit Message
id: commit
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: "[Test] Basic usage"
uses: ./
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: "🧹 Close Pull Request"
uses: actions/github-script@v3
Expand All @@ -97,20 +97,20 @@ jobs:
release:
name: Release new version
needs: [cleanup-test]
runs-on: ubuntu-18.04
runs-on: Ubuntu
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v4
with:
ref: main

- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 14
node-version: lts/*

- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install

- name: Release
env:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.workflow.push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ jobs:
name: Test build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 14
node-version: lts/*

- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install

- name: Build
run: yarn build

- name: Ensure build was committed (necessary for Github Actions)
run: "[[ -z $(git status -s dist) ]]"
run: "[[ -z $(git status -s dist ':^dist/src') ]]"

- name: "[Test] Unit tests"
run: yarn test
Expand All @@ -38,7 +38,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down

0 comments on commit 81e4d9f

Please sign in to comment.