Skip to content

Commit

Permalink
Update default version to 0.13 / update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
marcauberer committed Feb 18, 2023
1 parent 741e3d9 commit 543321e
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 17.x
node-version: 19.x

- name: Install dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 17.x
node-version: 19.x
cache: npm

- name: npm install
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ steps:
- name: Setup Spice
uses: spicelang/spice-setup-action@v1
with:
spice-version: 0.12.2 # The Spice version to setup. If omitted, the latest version will be taken
spice-version: 0.13.2 # The Spice version to setup. If omitted, the latest version will be taken
- run: spice run example.spice
```

Expand All @@ -38,7 +38,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
spice: [ '0.11.0', '0.12.0' ]
spice: [ '0.12.0', '0.13.0' ]
name: Setup Spice v${{ matrix.spice }}
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ const installer = __importStar(__nccwpck_require__(1480));
const path_1 = __importDefault(__nccwpck_require__(1017));
const child_process_1 = __importDefault(__nccwpck_require__(2081));
const url_1 = __nccwpck_require__(7310);
const defaultVersion = '0.11';
const defaultVersion = '0.13';
async function run() {
try {
/*
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "setup-spice",
"version": "1.0.5",
"version": "1.0.6",
"private": true,
"description": "Setup Spice Action",
"main": "lib/setup-spice.js",
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@types/jest": "^29.4.0",
"@types/node": "^18.13.0",
"@types/node": "^18.14.0",
"@types/semver": "^7.3.13",
"@vercel/ncc": "^0.36.1",
"jest": "^29.4.3",
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import path from 'path';
import cp from 'child_process';
import {URL} from 'url';

const defaultVersion: string = '0.11';
const defaultVersion: string = '0.13';

export async function run() {
try {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
/* Basic Options */
// "incremental": true, /* Enable incremental compilation */
"target": "es2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"target": "es2022", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
// "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */
Expand Down

0 comments on commit 543321e

Please sign in to comment.