mirror of
https://github.com/benjlevesque/short-sha.git
synced 2026-07-04 07:39:20 +02:00
chore: package upgrades & switch to npm
This commit is contained in:
@@ -18,11 +18,11 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '16'
|
||||
cache: 'yarn'
|
||||
cache: 'npm'
|
||||
- name: Install project dependencies
|
||||
run: yarn --prefer-offline
|
||||
run: npm install
|
||||
- name: Build
|
||||
run: yarn build
|
||||
run: npm run build
|
||||
- name: Commit & Push changes
|
||||
run: |
|
||||
git config user.name 'github-actions[bot]'
|
||||
|
||||
@@ -12,8 +12,11 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: |
|
||||
yarn
|
||||
yarn all
|
||||
npm i
|
||||
npm run format
|
||||
npm run lint
|
||||
npm run test
|
||||
npm run build
|
||||
test: # make sure the action works on a clean machine without building
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user