Skip to content

Commit

Permalink
ci: update actions
Browse files Browse the repository at this point in the history
* ci: update netlify action

* ci: update netlify action

* ci: different docker setup
  • Loading branch information
tpluscode authored Feb 2, 2024
1 parent 188fed9 commit bc8804d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18

Expand All @@ -20,7 +20,7 @@ jobs:

- name: Publish preview
id: netlify
uses: jsmrcaga/action-netlify-deploy@v2.0.0
uses: jsmrcaga/action-netlify-deploy@v2.1.0
if: env.NETLIFY_AUTH_TOKEN
with:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
Expand All @@ -30,6 +30,7 @@ jobs:
deploy_alias: ${{ env.BRANCH_NAME }}
NETLIFY_DEPLOY_TO_PROD: false
build_command: yarn --cwd packages/app run build
monorepo_package: packages/app

- name: Status check
uses: Sibz/github-status-action@v1.1.1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Test

on: push
on: [push, pull_request]

jobs:
Mocha:
Expand All @@ -17,5 +17,5 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker-practice/actions-setup-docker@1
- uses: docker/setup-buildx-action@v3
- run: docker build -f Dockerfile -t shacl-playground .

0 comments on commit bc8804d

Please sign in to comment.