Skip to content

Commit

Permalink
update github action syntax (#72)
Browse files Browse the repository at this point in the history
update actions
  • Loading branch information
mldangelo authored Oct 2, 2023
1 parent 54cedf4 commit 4feaf9e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: set node version
uses: actions/setup-node@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: set node version
uses: actions/setup-node@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/share-preview-url.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
comment-on-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: get dest dir
id: get_dest_dir
run: echo "DEST_DIR=inline/preview-$GITHUB_HEAD_REF" >> "$GITHUB_OUTPUT"
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout code, and install dependencies
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: set node version
uses: actions/setup-node@v3
with:
build: npm ci
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci
- name: run tests
uses: cypress-io/github-action@v5
with:
Expand Down

0 comments on commit 4feaf9e

Please sign in to comment.