Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 28465b0

Browse files
authoredOct 24, 2024··
Merge pull request #29 from fixpoint/refactor
Refactor
2 parents 7a3307a + fb17f80 commit 28465b0

File tree

8 files changed

+70015
-56281
lines changed

8 files changed

+70015
-56281
lines changed
 

‎.eslintrc.js

-66
This file was deleted.

‎.github/workflows/test.yml

+18-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,22 @@ name: Test
33
on: [push]
44

55
jobs:
6-
build:
6+
check:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-node@v4
12+
- run: npm ci
13+
- run: npm run lint
14+
- run: npm run build
15+
- run: |
16+
npm run compile
17+
git diff --exit-code
18+
19+
test:
20+
needs: check
21+
722
strategy:
823
matrix:
924
os:
@@ -14,8 +29,8 @@ jobs:
1429
runs-on: ${{ matrix.os }}
1530

1631
steps:
17-
- uses: actions/checkout@v3
18-
- uses: actions/setup-node@v3
32+
- uses: actions/checkout@v4
33+
- uses: actions/setup-node@v4
1934
- run: npm ci
2035
- run: npm run build
2136

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Original version
2+
# https://github.com/actions/checkout/blob/11bd71901bbe5b1630ceea73d27597364c9af683/.github/workflows/update-main-version.yml
3+
name: Update Main Version
4+
run-name: Move ${{ github.event.inputs.major_version }} to ${{ github.event.inputs.target }}
5+
6+
on:
7+
workflow_dispatch:
8+
inputs:
9+
target:
10+
description: The tag or reference to use
11+
required: true
12+
major_version:
13+
type: choice
14+
description: The major version to update
15+
options:
16+
- v4
17+
18+
jobs:
19+
tag:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
- name: Git config
26+
run: |
27+
git config user.name "github-actions[bot]"
28+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
29+
- name: Tag new target
30+
run: git tag -f ${{ github.event.inputs.major_version }} ${{ github.event.inputs.target }}
31+
- name: Push new tag
32+
run: git push origin ${{ github.event.inputs.major_version }} --force

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Get [Azure Storage connection strings](https://docs.microsoft.com/en-us/azure/st
1313

1414
```yaml
1515
steps:
16-
- uses: actions/checkout@v1
16+
- uses: actions/checkout@v4
1717

1818
- run: mkdir -p path/to/artifact
1919

0 commit comments

Comments
 (0)
Please sign in to comment.