Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Bali committed Oct 17, 2023
1 parent 952770e commit 2aef2bb
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Update Dependencies

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
contents: write
actions: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PACKAGE_DEPLOYER_PAT }}
- uses: actions/setup-node@v3
with:
node-version: 17.0.0
registry-url: https://npm.pkg.github.com/
- run: |
git config --global user.name "Shummy1991"
git config --global user.email "[email protected]"
- run: npm ci
- run: npm i @shummy1991/package-test@latest
- run: git push
env:
GH_TOKEN: ${{ github.token }}
20 changes: 20 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@shummy1991/package-test": "^0.1.43",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
Expand Down
2 changes: 2 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import React from 'react';
import logo from './logo.svg';
import './App.css';
import { Example } from '@shummy1991/package-test';

function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<Example />
<p>
Edit <code>src/App.tsx</code> and save to reload.
</p>
Expand Down

0 comments on commit 2aef2bb

Please sign in to comment.