Skip to content

Commit

Permalink
chore: update workflow for new main default branch (#71)
Browse files Browse the repository at this point in the history
The default branch is now `main`. The build workflow was updated to
reflect that change.
  • Loading branch information
jrebocho authored Aug 16, 2024
1 parent 58bde2c commit 5975585
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@ name: Test

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16.7.0'

- run: npm install
- run: npm run build
- run: npm test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This extension can be installed with one the following methods:

Launch the Command Pallete **(Cmd+Shift+P / Ctrl+Shift+P)** and type `random` to view all the available data generators. Select one of them and press **Enter**.

![Screen](https://raw.githubusercontent.com/jrebocho/vscode-random/master/images/vscode-random-screen.gif)
![Screen](https://raw.githubusercontent.com/jrebocho/vscode-random/main/images/vscode-random-screen.gif)

Random values generation is also supported when using **multiple editors**.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@
]
},
"scripts": {
"compile": "rimraf build & babel src --out-dir build",
"build": "rimraf build & babel src --out-dir build",
"pretest": "eslint ./{src,tests,mocks}/**/*.js",
"test": "jest --ci",
"test:watch": "jest --watch",
Expand Down

0 comments on commit 5975585

Please # to comment.